PatternSpec
Object Hierarchy:
Description:
[ Compact ]
public class PatternSpec
A GPatternSpec struct is the 'compiled' form of a pattern.
This structure is opaque and its fields cannot be accessed directly.
Content:
Static methods:
Creation methods:
Methods:
- public bool equal (PatternSpec pspec)
Compares two compiled pattern specs and returns whether they will
match the same set of strings.
- public bool match (uint string_length, string str, string? str_reversed)
Matches a string against a compiled pattern.
- public bool match_string (string str)
Matches a string against a compiled pattern.