aboutsummaryrefslogtreecommitdiff
path: root/core/text
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-20 10:45:48 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-20 10:45:48 -0400
commit09690691b66c4cc53651d459b23da2a968d3aa85 (patch)
treeaa020ff496d79b3881fb27d7288b55ec6d670ed2 /core/text
parent208ace0b0306cd88344442ef2f0ef9d66772a153 (diff)
text/regex: Remove old docmentation and unneeded flag
`Unsupported_Flag` was used back when the iterator did not handle `.Multiline`.
Diffstat (limited to 'core/text')
-rw-r--r--core/text/regex/regex.odin4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/text/regex/regex.odin b/core/text/regex/regex.odin
index 7456634ac..bff82c407 100644
--- a/core/text/regex/regex.odin
+++ b/core/text/regex/regex.odin
@@ -28,8 +28,6 @@ Creation_Error :: enum {
Expected_Delimiter,
// An unknown letter was supplied to `create_by_user` after the last delimiter.
Unknown_Flag,
- // An unsupported flag was supplied.
- Unsupported_Flag,
}
Error :: union #shared_nil {
@@ -69,7 +67,6 @@ Regular_Expression :: struct {
/*
An iterator to repeatedly match a pattern against a string, to be used with `*_iterator` procedures.
-Note: Does not handle `.Multiline` properly.
*/
Match_Iterator :: struct {
regex: Regular_Expression,
@@ -436,7 +433,6 @@ match_with_preallocated_capture :: proc(
/*
Iterate over a `Match_Iterator` and return successive captures.
-Note: Does not handle `.Multiline` properly.
Inputs:
- it: Pointer to the `Match_Iterator` to iterate over.