enum Regex::RegexFlags
Declared at: llvm/include/llvm/Support/Regex.h:30
Enumerators
Name | Value | Comment |
---|---|---|
NoFlags | 0 | |
IgnoreCase | 1 | Compile for matching that ignores upper/lower case distinctions. |
Newline | 2 | Compile for newline-sensitive matching. With this flag '[^' bracket expressions and '.' never match newline. A ^ anchor matches the null string after any newline in the string in addition to its normal function, and the $ anchor matches the null string before any newline in the string in addition to its normal function. |
BasicRegex | 4 | By default, the POSIX extended regular expression (ERE) syntax is assumed. Pass this flag to turn on basic regular expressions (BRE) instead. |
LLVM_BITMASK_LARGEST_ENUMERATOR | 4 |