sharedlibrarycoreinterfaces IParserPatternMatcher - RaidMax/IW4M-Admin GitHub Wiki
Public interface
IParserPatternMatcher Description
defines the capabilities of a parser pattern
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IParserPatternMatcher[IParserPatternMatcher](/RaidMax/IW4M-Admin/wiki/IParserPatternMatcher)
class SharedLibraryCore.Interfaces.IParserPatternMatcher interfaceStyle;
end
Members
Methods
Public methods
Returns | Name |
---|---|
void |
Compile (string pattern)compiles the pattern to be used for matching |
IMatchResult |
Match (string input)converts input string into pattern groups |
Details
Summary
defines the capabilities of a parser pattern
Methods
Match
public IMatchResult Match(string input)
Arguments
Type | Name | Description |
---|---|---|
string |
input | input string |
Summary
converts input string into pattern groups
Returns
group matches
Compile
public void Compile(string pattern)
Arguments
Type | Name | Description |
---|---|---|
string |
pattern |
Summary
compiles the pattern to be used for matching
Generated with ModularDoc