core/text/regex/common

regex_common

Types

2

Flag

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

Constants

4

MAX_CAPTURE_GROUPS

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

(c) Copyright 2024 Feoramund <rune@swevencraft.org>.

Made available under Odin's license.

	List of contributors:
		Feoramund: Initial implementation.
VM limitations

Variables

2

Procedures

1

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.