aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-08-04 18:40:27 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-08-04 18:40:27 -0400
commitd3a51e208d01d2ab59067018a219340d42a228fa (patch)
treead75c700a55d98d0f9d24d6c4c38c933bdad7a4b
parentcd8272557feae951543c0d661b3c8d82e1a67c44 (diff)
Hide `Regular_Expression` values
We don't directly support printing these. To prevent future issues being raised about the pattern being missing if someone tries to print one, hide everything.
-rw-r--r--core/text/regex/regex.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/text/regex/regex.odin b/core/text/regex/regex.odin
index 0bb0b7824..9da7e9246 100644
--- a/core/text/regex/regex.odin
+++ b/core/text/regex/regex.odin
@@ -30,8 +30,8 @@ Capture :: struct {
}
Regular_Expression :: struct {
- flags: Flags,
- class_data: []virtual_machine.Rune_Class_Data,
+ flags: Flags `fmt:"-"`,
+ class_data: []virtual_machine.Rune_Class_Data `fmt:"-"`,
program: []virtual_machine.Opcode `fmt:"-"`,
}