Skip to content

Commit d9e08bc

Browse files
authored
Merge pull request #5374 from Feoramund/fix-regex-docs
Fix RegEx docs
2 parents 208ace0 + b827532 commit d9e08bc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

core/sys/posix/posix.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Unimplemented headers:
3131
- iso646.h | Impossible
3232
- math.h | See `core:c/libc`
3333
- mqueue.h | Targets don't seem to have implemented it
34-
- regex.h | See `core:regex`
34+
- regex.h | See `core:text/regex`
3535
- search.h | Not useful in Odin
3636
- spawn.h | Use `fork`, `execve`, etc.
3737
- stdarg.h | See `core:c/libc`

core/text/regex/regex.odin

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ Creation_Error :: enum {
2828
Expected_Delimiter,
2929
// An unknown letter was supplied to `create_by_user` after the last delimiter.
3030
Unknown_Flag,
31-
// An unsupported flag was supplied.
32-
Unsupported_Flag,
3331
}
3432

3533
Error :: union #shared_nil {
@@ -69,7 +67,6 @@ Regular_Expression :: struct {
6967

7068
/*
7169
An iterator to repeatedly match a pattern against a string, to be used with `*_iterator` procedures.
72-
Note: Does not handle `.Multiline` properly.
7370
*/
7471
Match_Iterator :: struct {
7572
regex: Regular_Expression,
@@ -436,7 +433,6 @@ match_with_preallocated_capture :: proc(
436433

437434
/*
438435
Iterate over a `Match_Iterator` and return successive captures.
439-
Note: Does not handle `.Multiline` properly.
440436
441437
Inputs:
442438
- it: Pointer to the `Match_Iterator` to iterate over.

0 commit comments

Comments
 (0)