Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_corelib_text_qstaticlatin1stringmatcher.cpp
Go to the documentation of this file.
1
// Copyright (C) 2023 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
#
include
<
QStaticLatin1StringMatcher
>
5
6
//! [0]
7
static
constexpr
auto
matcher
= qMakeStaticCaseSensitiveLatin1StringMatcher(
"needle"
);
8
//! [0]
9
10
void
repetition
()
11
{
12
//! [1]
13
static
constexpr
auto
matcher = qMakeStaticCaseInsensitiveLatin1StringMatcher(
"needle"
);
14
//! [1]
15
}
repetition
void repetition()
[0]
Definition
src_corelib_text_qstaticlatin1stringmatcher.cpp:10
matcher
static constexpr auto matcher
[0]
Definition
src_corelib_text_qstaticlatin1stringmatcher.cpp:7
qtbase
src
corelib
doc
snippets
code
src_corelib_text_qstaticlatin1stringmatcher.cpp
Generated on
for Qt by
1.14.0