mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
@@ -31,7 +31,7 @@ Unimplemented headers:
|
|||||||
- iso646.h | Impossible
|
- iso646.h | Impossible
|
||||||
- math.h | See `core:c/libc`
|
- math.h | See `core:c/libc`
|
||||||
- mqueue.h | Targets don't seem to have implemented it
|
- mqueue.h | Targets don't seem to have implemented it
|
||||||
- regex.h | See `core:regex`
|
- regex.h | See `core:text/regex`
|
||||||
- search.h | Not useful in Odin
|
- search.h | Not useful in Odin
|
||||||
- spawn.h | Use `fork`, `execve`, etc.
|
- spawn.h | Use `fork`, `execve`, etc.
|
||||||
- stdarg.h | See `core:c/libc`
|
- stdarg.h | See `core:c/libc`
|
||||||
|
|||||||
@@ -28,8 +28,6 @@ Creation_Error :: enum {
|
|||||||
Expected_Delimiter,
|
Expected_Delimiter,
|
||||||
// An unknown letter was supplied to `create_by_user` after the last delimiter.
|
// An unknown letter was supplied to `create_by_user` after the last delimiter.
|
||||||
Unknown_Flag,
|
Unknown_Flag,
|
||||||
// An unsupported flag was supplied.
|
|
||||||
Unsupported_Flag,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Error :: union #shared_nil {
|
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.
|
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 {
|
Match_Iterator :: struct {
|
||||||
regex: Regular_Expression,
|
regex: Regular_Expression,
|
||||||
@@ -436,7 +433,6 @@ match_with_preallocated_capture :: proc(
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Iterate over a `Match_Iterator` and return successive captures.
|
Iterate over a `Match_Iterator` and return successive captures.
|
||||||
Note: Does not handle `.Multiline` properly.
|
|
||||||
|
|
||||||
Inputs:
|
Inputs:
|
||||||
- it: Pointer to the `Match_Iterator` to iterate over.
|
- it: Pointer to the `Match_Iterator` to iterate over.
|
||||||
|
|||||||
Reference in New Issue
Block a user