RegexMatchFlags
Description:
[ Version ( since = "2.14" ) ]
[ CCode ( cprefix = "G_REGEX_MATCH_" , has_type_id = false ) ]
[ Flags ]
public enum RegexMatchFlags
[ CCode ( cprefix = "G_REGEX_MATCH_" , has_type_id = false ) ]
[ Flags ]
public enum RegexMatchFlags
Flags specifying match-time options.
Namespace: GLib
Package: glib-2.0
Content:
Enum values:
- ANCHORED - 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.
- BSR_ANY - Overrides the newline definition for "\R" set when creating a new Regex; any Unicode newline character or character sequence are recognized as a newline by "\R".
- BSR_ANYCRLF - Overrides the newline definition for "\R" set when creating a new Regex; only '\r', '\n', or '\r\n' character sequences are recognized as a newline by "\R".
- NEWLINE_ANY - Overrides the newline definition set when creating a new Regex, any Unicode newline sequence is recognised as a newline.
- NEWLINE_ANYCRLF - Overrides the newline definition set when creating a new Regex; any '\r', '\n', or '\r\n' character sequence is recognized as a newline.
- NEWLINE_CR - Overrides the newline definition set when creating a new Regex, setting the '\r' character as line terminator.
- NEWLINE_CRLF - Overrides the newline definition set when creating a new Regex, setting the '\r\n' characters sequence as line terminator.
- NEWLINE_LF - Overrides the newline definition set when creating a new Regex, setting the '\n' character as line terminator.
- NOTBOL - Specifies that first character of the string is not the beginning of a line, so the circumflex metacharacter should not match before it.
- NOTEMPTY - An empty string is not considered to be a valid match if this option is set.
- NOTEMPTY_ATSTART - Like g_regex_match_notempty, but only applied to the start of the matched string.
- NOTEOL - 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.
- PARTIAL - Turns on the partial matching feature, for more documentation on partial matching see is_partial_match.
- PARTIAL_HARD - Turns on the partial matching feature.
- PARTIAL_SOFT - An alias for g_regex_match_partial.