pub struct PatternSyntax(/* private fields */);
Expand description
The syntax used to interpret the meaning of the pattern.
C++ enum: QRegExp::PatternSyntax
.
The syntax used to interpret the meaning of the pattern.
See also setPatternSyntax().
Implementations§
Source§impl PatternSyntax
impl PatternSyntax
Sourcepub const RegExp: PatternSyntax
pub const RegExp: PatternSyntax
A rich Perl-like pattern matching syntax. This is the default. (C++ enum variant: RegExp = 0
)
Sourcepub const Wildcard: PatternSyntax
pub const Wildcard: PatternSyntax
This provides a simple pattern matching syntax similar to that used by shells (command interpreters) for “file globbing”. See QRegExp wildcard matching. (C++ enum variant: Wildcard = 1
)
Sourcepub const FixedString: PatternSyntax
pub const FixedString: PatternSyntax
The pattern is a fixed string. This is equivalent to using the RegExp pattern on a string in which all metacharacters are escaped using escape(). (C++ enum variant: FixedString = 2
)
Sourcepub const RegExp2: PatternSyntax
pub const RegExp2: PatternSyntax
Like RegExp, but with greedy quantifiers. (Introduced in Qt 4.2.) (C++ enum variant: RegExp2 = 3
)
Sourcepub const WildcardUnix: PatternSyntax
pub const WildcardUnix: PatternSyntax
This is similar to Wildcard but with the behavior of a Unix shell. The wildcard characters can be escaped with the character “". (C++ enum variant: WildcardUnix = 4
)
Sourcepub const W3CXmlSchema11: PatternSyntax
pub const W3CXmlSchema11: PatternSyntax
The pattern is a regular expression as defined by the W3C XML Schema 1.1 specification. (C++ enum variant: W3CXmlSchema11 = 5
)
Trait Implementations§
Source§impl Clone for PatternSyntax
impl Clone for PatternSyntax
Source§fn clone(&self) -> PatternSyntax
fn clone(&self) -> PatternSyntax
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more