diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-05-24 06:02:50 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-05-24 07:42:04 -0400 |
| commit | 37d6491300269502341d7f5ea455ae089a36ce06 (patch) | |
| tree | a4333515cb43f2a34e802e36a953de4324272c95 /core/text/regex/common/common.odin | |
| parent | fedb9efb413dda3f2d9d4bbb39050219f8c0f394 (diff) | |
Remove `Global` RegEx flag, default to unanchored patterns
Diffstat (limited to 'core/text/regex/common/common.odin')
| -rw-r--r-- | core/text/regex/common/common.odin | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/text/regex/common/common.odin b/core/text/regex/common/common.odin index 4a303e0a3..e60bef58f 100644 --- a/core/text/regex/common/common.odin +++ b/core/text/regex/common/common.odin @@ -15,8 +15,6 @@ MAX_PROGRAM_SIZE :: int(max(i16)) MAX_CLASSES :: int(max(u8)) Flag :: enum u8 { - // Global: try to match the pattern anywhere in the string. - Global, // Multiline: treat `^` and `$` as if they also match newlines. Multiline, // Case Insensitive: treat `a-z` as if it was also `A-Z`. @@ -36,7 +34,6 @@ Flags :: bit_set[Flag; u8] @(rodata) Flag_To_Letter := #sparse[Flag]u8 { - .Global = 'g', .Multiline = 'm', .Case_Insensitive = 'i', .Ignore_Whitespace = 'x', |