Package ch.bailu.gtk.glib
Schnittstelle RegexMatchFlags
public interface RegexMatchFlags
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final int
The pattern is forced to be "anchored", that is,
it is constrained to match only at the first matching point in the
string that is being searched.static final int
Overrides the newline definition for "\R" set when
creating a new #GRegex; any Unicode newline character or character sequence
are recognized as a newline by "\R".static final int
Overrides the newline definition for "\R" set when
creating a new #GRegex; only '\r', '\n', or '\r\n' character sequences
are recognized as a newline by "\R".static final int
No special options set.static final int
Overrides the newline definition set when
creating a new #GRegex, any Unicode newline sequence
is recognised as a newline.static final int
Overrides the newline definition set when
creating a new #GRegex; any '\r', '\n', or '\r\n' character sequence
is recognized as a newline.static final int
Overrides the newline definition set when
creating a new #GRegex, setting the '\r' character as line terminator.static final int
Overrides the newline definition set when
creating a new #GRegex, setting the '\r\n' characters sequence as line terminator.static final int
Overrides the newline definition set when
creating a new #GRegex, setting the '\n' character as line terminator.static final int
Specifies that first character of the string is
not the beginning of a line, so the circumflex metacharacter should
not match before it.static final int
An empty string is not considered to be a valid
match if this option is set.static final int
Like %G_REGEX_MATCH_NOTEMPTY, but only applied to
the start of the matched string.static final int
Specifies that the end of the subject string is
not the end of a line, so the dollar metacharacter should not match
it nor (except in multiline mode) a newline immediately before it.static final int
Turns on the partial matching feature, for more
documentation on partial matching see g_match_info_is_partial_match().static final int
Turns on the partial matching feature.static final int
An alias for %G_REGEX_MATCH_PARTIAL.
-
Felddetails
-
DEFAULT
static final int DEFAULTNo special options set. Since: 2.74- Siehe auch:
-
ANCHORED
static final int ANCHOREDThe pattern is forced to be "anchored", that is,
it is constrained to match only at the first matching point in the
string that is being searched. This effect can also be achieved by
appropriate constructs in the pattern itself such as the "^"
metacharacter.- Siehe auch:
-
NOTBOL
static final int NOTBOLSpecifies that first character of the string is
not the beginning of a line, so the circumflex metacharacter should
not match before it. Setting this without %G_REGEX_MULTILINE (at
compile time) causes circumflex never to match. This option affects
only the behaviour of the circumflex metacharacter, it does not
affect "\A".- Siehe auch:
-
NOTEOL
static final int NOTEOLSpecifies that the end of the subject string is
not the end of a line, so the dollar metacharacter should not match
it nor (except in multiline mode) a newline immediately before it.
Setting this without %G_REGEX_MULTILINE (at compile time) causes
dollar never to match. This option affects only the behaviour of
the dollar metacharacter, it does not affect "\Z" or "\z".- Siehe auch:
-
NOTEMPTY
static final int NOTEMPTYAn empty string is not considered to be a valid
match if this option is set. If there are alternatives in the pattern,
they are tried. If all the alternatives match the empty string, the
entire match fails. For example, if the pattern "a?b?" is applied to
a string not beginning with "a" or "b", it matches the empty string
at the start of the string. With this flag set, this match is not
valid, so GRegex searches further into the string for occurrences
of "a" or "b".- Siehe auch:
-
PARTIAL
static final int PARTIALTurns on the partial matching feature, for more
documentation on partial matching see g_match_info_is_partial_match().- Siehe auch:
-
NEWLINE_CR
static final int NEWLINE_CROverrides the newline definition set when
creating a new #GRegex, setting the '\r' character as line terminator.- Siehe auch:
-
NEWLINE_LF
static final int NEWLINE_LFOverrides the newline definition set when
creating a new #GRegex, setting the '\n' character as line terminator.- Siehe auch:
-
NEWLINE_CRLF
static final int NEWLINE_CRLFOverrides the newline definition set when
creating a new #GRegex, setting the '\r\n' characters sequence as line terminator.- Siehe auch:
-
NEWLINE_ANY
static final int NEWLINE_ANYOverrides the newline definition set when
creating a new #GRegex, any Unicode newline sequence
is recognised as a newline. These are '\r', '\n' and '\rn', and the
single characters U+000B LINE TABULATION, U+000C FORM FEED (FF),
U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and
U+2029 PARAGRAPH SEPARATOR.- Siehe auch:
-
NEWLINE_ANYCRLF
static final int NEWLINE_ANYCRLFOverrides the newline definition set when
creating a new #GRegex; any '\r', '\n', or '\r\n' character sequence
is recognized as a newline. Since: 2.34- Siehe auch:
-
BSR_ANYCRLF
static final int BSR_ANYCRLFOverrides the newline definition for "\R" set when
creating a new #GRegex; only '\r', '\n', or '\r\n' character sequences
are recognized as a newline by "\R". Since: 2.34- Siehe auch:
-
BSR_ANY
static final int BSR_ANYOverrides the newline definition for "\R" set when
creating a new #GRegex; any Unicode newline character or character sequence
are recognized as a newline by "\R". These are '\r', '\n' and '\rn', and the
single characters U+000B LINE TABULATION, U+000C FORM FEED (FF),
U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and
U+2029 PARAGRAPH SEPARATOR. Since: 2.34- Siehe auch:
-
PARTIAL_SOFT
static final int PARTIAL_SOFTAn alias for %G_REGEX_MATCH_PARTIAL. Since: 2.34- Siehe auch:
-
PARTIAL_HARD
static final int PARTIAL_HARDTurns on the partial matching feature. In contrast to
to %G_REGEX_MATCH_PARTIAL_SOFT, this stops matching as soon as a partial match
is found, without continuing to search for a possible complete match. See
g_match_info_is_partial_match() for more information. Since: 2.34- Siehe auch:
-
NOTEMPTY_ATSTART
static final int NOTEMPTY_ATSTARTLike %G_REGEX_MATCH_NOTEMPTY, but only applied to
the start of the matched string. For anchored
patterns this can only happen for pattern containing "\K". Since: 2.34- Siehe auch:
-