Skip to main content

Module pattern

Module pattern 

Source
Expand description

Pattern - Pattern matching expressions for symbol discovery.

Supports glob patterns (*Config, get_*) and regex patterns.

§Case Options

Patterns support two case-related options:

  • ignore_case: Ignore ASCII case (A-Z == a-z)
  • ignore_word_separate: Ignore word separators and casing style (snake_case == camelCase == PascalCase)

Structs§

CaseOptions
Case matching options for patterns.
ExactPattern
Exact pattern implementation.
GlobPattern
Glob pattern implementation.
RegexPattern
Regex pattern implementation.

Enums§

Pattern
Pattern for matching symbol names.
PatternError
Error during pattern compilation.

Functions§

normalize_to_words
Normalize an identifier to lowercase words.