Skip to main content

Module pattern

Module pattern 

Source
Expand description

Pattern promotion: a literal, a * glob, or a regex, told apart by shape and compiled to one anchored regex. The pattern_match node and the vector catalog’s profile filter share it.

Enums§

PatternDialect
Which dialect promote_pattern / compile_pattern picked.

Functions§

compile_pattern
Promote and compile source into an anchored Regex.
promote_pattern
Classify source and return its anchored regex source + dialect. Pure — does not compile. Promotion rules: