| 1 |
/// Flag bit for case insensitive matching |
| 2 |
pub const FLAG_CASEI: u32 = 1; |
| 3 |
/// Flag bit for multi-line mode |
| 4 |
pub const FLAG_MULTI: u32 = 1 << 1; |
| 5 |
/// Flag bit for dot matches newline |
| 6 |
pub const FLAG_DOTNL: u32 = 1 << 2; |
| 7 |
/// Flag bit for swapping greed |
| 8 |
pub const FLAG_SWAP_GREED: u32 = 1 << 3; |
| 9 |
/// Flag bit for ignoring whitespace |
| 10 |
pub const FLAG_IGNORE_SPACE: u32 = 1 << 4; |
| 11 |
/// Flag bit for unicode mode |
| 12 |
pub const FLAG_UNICODE: u32 = 1 << 5; |
| 13 |
/// Flag bit for parsing in Oniguruma compatibility mode |
| 14 |
pub const FLAG_ONIGURUMA_MODE: u32 = 1 << 6; |
| 15 |
/// Flag bit for CRLF mode (treat `\r\n` as a single line ending) |
| 16 |
pub const FLAG_CRLF: u32 = 1 << 7; |
| 17 |
/// Flag bit for treating numbered groups as non-capturing when named groups exist |
| 18 |
pub const FLAG_IGNORE_NUMBERED_GROUPS_WHEN_NAMED_GROUPS_EXIST: u32 = 1 << 8; |