core:text/regex -> core:os/os2

This commit is contained in:
Jeroen van Rijn
2025-10-29 14:11:14 +01:00
parent a65b53a7ab
commit edeb8065ff

View File

@@ -8,14 +8,14 @@ package regex_common
Feoramund: Initial implementation.
*/
@require import "core:os"
@require import os "core:os/os2"
import "core:io"
import "core:strings"
ODIN_DEBUG_REGEX :: #config(ODIN_DEBUG_REGEX, false)
when ODIN_DEBUG_REGEX {
debug_stream := os.stream_from_handle(os.stderr)
debug_stream := os.stderr.stream
}
write_padded_hex :: proc(w: io.Writer, #any_int n, zeroes: int) {