aboutsummaryrefslogtreecommitdiff
path: root/core/text/regex/common/common.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-08 16:39:56 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-09 15:07:27 +0100
commit8ed264680b1f3f94b6aa5176824d4ccadfc30322 (patch)
tree6fb815549b2f1ce4694f32dee216a628a221ecd4 /core/text/regex/common/common.odin
parent5bf30b2d562dd7b746a351dce333914e2ca958c8 (diff)
Remove all `core:os` imports from JS targets
Fix `local_tz_name` on FreeBSD.
Diffstat (limited to 'core/text/regex/common/common.odin')
-rw-r--r--core/text/regex/common/common.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/text/regex/common/common.odin b/core/text/regex/common/common.odin
index 24b44833f..cfbbe53ba 100644
--- a/core/text/regex/common/common.odin
+++ b/core/text/regex/common/common.odin
@@ -14,6 +14,8 @@ MAX_CAPTURE_GROUPS :: max(#config(ODIN_REGEX_MAX_CAPTURE_GROUPS, 10), 10)
MAX_PROGRAM_SIZE :: int(max(i16))
MAX_CLASSES :: int(max(u8))
+ODIN_DEBUG_REGEX :: #config(ODIN_DEBUG_REGEX, false)
+
Flag :: enum u8 {
// Multiline: treat `^` and `$` as if they also match newlines.
Multiline,