diff options
author | Volker Hilsheimer <[email protected]> | 2021-04-16 13:12:02 +0200 |
---|---|---|
committer | Volker Hilsheimer <[email protected]> | 2021-04-27 14:12:34 +0200 |
commit | f3719c66f46e1bdda49a108e61c35cb0c0182f09 (patch) | |
tree | 46038334c8814b952a94eae33fa2fcbddcaac125 | |
parent | c3d16e21265ebacca1018b31490b63f8738333a5 (diff) |
Remove links to QRegularExpression#Wildcard matching
The topic existed for QRegExp but is not relevant in QRegularExpression.
Pick-to: 6.1
Change-Id: Ife9d42b5b03163cfefff19725409a3feac1cddb2
Reviewed-by: Paul Wicking <[email protected]>
-rw-r--r-- | src/corelib/io/qdir.cpp | 9 | ||||
-rw-r--r-- | src/network/ssl/qsslcertificate.cpp | 3 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 5158029c6ec..4016c12f131 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -1064,8 +1064,7 @@ QStringList QDir::nameFilters() const list of filters specified by \a nameFilters. Each name filter is a wildcard (globbing) filter that understands - \c{*} and \c{?} wildcards. See \l{QRegularExpression#Wildcard matching} - {QRegularExpression Wildcard Matching}. + \c{*} and \c{?} wildcards. See \l{QRegularExpression::fromWildcard()}. For example, the following code sets three name filters on a QDir to ensure that only files with extensions typically used for C++ @@ -2114,8 +2113,7 @@ QString QDir::rootPath() patterns in the list of \a filters; otherwise returns \c false. The matching is case insensitive. - \sa {QRegularExpression#Wildcard matching}{QRegularExpression Wildcard Matching}, - entryList(), entryInfoList() + \sa QRegularExpression::fromWildcard(), entryList(), entryInfoList() */ bool QDir::match(const QStringList &filters, const QString &fileName) { @@ -2134,8 +2132,7 @@ bool QDir::match(const QStringList &filters, const QString &fileName) contain multiple patterns separated by spaces or semicolons. The matching is case insensitive. - \sa {QRegularExpression#Wildcard matching}{QRegularExpression Wildcard Matching}, - entryList(), entryInfoList() + \sa QRegularExpression::fromWildcard(), entryList(), entryInfoList() */ bool QDir::match(const QString &filter, const QString &fileName) { diff --git a/src/network/ssl/qsslcertificate.cpp b/src/network/ssl/qsslcertificate.cpp index 53514523dc0..41b4beb4184 100644 --- a/src/network/ssl/qsslcertificate.cpp +++ b/src/network/ssl/qsslcertificate.cpp @@ -121,8 +121,7 @@ \value Wildcard This provides a simple pattern matching syntax similar to that used by shells (command interpreters) for "file - globbing". See \l {QRegularExpression#Wildcard matching} - {QRegularExpression Wildcard Matching}. + globbing". See \l {QRegularExpression::fromWildcard()}. \value FixedString The pattern is a fixed string. This is equivalent to using the RegularExpression pattern on a string in |