package core:text/regex/common

⌘K
Ctrl+K
or
/

    Overview

    This package helps break dependency cycles.

    Index

    Types (2)
    Variables (1)
    Procedures (1)
    Procedure Groups (0)

    This section is empty.

    Types

    Flag ¶

    Flag :: enum u8 {
    	// Global: try to match the pattern anywhere in the string.
    	Global, 
    	// Multiline: treat `^` and `$` as if they also match newlines.
    	Multiline, 
    	// Case Insensitive: treat `a-z` as if it was also `A-Z`.
    	Case_Insensitive, 
    	// Ignore Whitespace: bypass unescaped whitespace outside of classes.
    	Ignore_Whitespace, 
    	// Unicode: let the compiler and virtual machine know to expect Unicode strings.
    	Unicode, 
    	// No Capture: avoid saving capture group data entirely.
    	No_Capture, 
    	// No Optimization: do not pass the pattern through the optimizer; for debugging.
    	No_Optimization, 
    }

    Flags ¶

    Flags :: bit_set[Flag; u8]

    Constants

    MAX_CAPTURE_GROUPS ¶

    MAX_CAPTURE_GROUPS :: max(#config(ODIN_REGEX_MAX_CAPTURE_GROUPS, 10), 10)
     

    VM limitations

    MAX_CLASSES ¶

    MAX_CLASSES :: int(max(u8))

    MAX_PROGRAM_SIZE ¶

    MAX_PROGRAM_SIZE :: int(max(i16))

    ODIN_DEBUG_REGEX ¶

    ODIN_DEBUG_REGEX :: #config(ODIN_DEBUG_REGEX, false)

    Variables

    Flag_To_Letter ¶

    @(rodata)
    Flag_To_Letter: [Flag]u8 = …

    Procedures

    write_padded_hex ¶

    write_padded_hex :: proc(w: io.Stream, #any_int n, #any_int zeroes: int) {…}

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-2024-11 (vendor "odin") Windows_amd64 @ 2024-11-16 21:10:10.877864800 +0000 UTC