C# Class NRegex.Matcher

Inheritance: MatchResult
Show file Open project: olabini/nregex Class Usage Examples

Public Methods

Method Description
CharAt ( int i ) : char
CharAt ( int i, int groupId ) : char
Find ( ) : bool
Find ( int anchors ) : bool
FindAll ( ) : MatchIterator
FindAll ( int options ) : MatchIterator
GetEnd ( int id ) : int
GetLength ( int id ) : int
GetStart ( int id ) : int
Group ( int n, StringBuilder sb ) : bool
Group ( int n, TextBuffer tb ) : bool
Group ( string name, StringBuilder sb ) : bool
Group ( string name, TextBuffer tb ) : bool
Group ( int n ) : string
Group ( string name ) : string
IsCaptured ( ) : bool
IsCaptured ( int id ) : bool
IsCaptured ( string groupName ) : bool
IsStart ( ) : bool
Matches ( ) : bool
Matches ( string s ) : bool
MatchesPrefix ( ) : bool
Proceed ( ) : bool
Proceed ( int options ) : bool
SetTarget ( Matcher m, int groupId ) : void
SetTarget ( TextReader _in, int len ) : void
SetTarget ( char text, int start, int len ) : void
SetTarget ( char text, int start, int len, bool shared ) : void
SetTarget ( string text, int start, int len ) : void
Skip ( ) : void
ToString ( ) : string
ToString_d ( ) : string

Private Methods

Method Description
Bounds ( int id ) : MemReg
CompareRegions ( char arr, int off1, int off2, int len, int _out ) : bool
CompareRegionsI ( char arr, int off1, int off2, int len, int _out ) : bool
Find ( char data, int off, int _out, Term term ) : int
FindBack ( char data, int off, int maxCount, Term term ) : int
FindBackReg ( char data, int off, int regOff, int regLen, int maxCount, Term term, int _out ) : int
FindReg ( char data, int off, int regOff, int regLen, Term term, int _out ) : int
Flush ( ) : void
GetString ( int start, int end ) : string
Init ( ) : void
Matcher ( Pattern regex ) : System
Repeat ( char data, int off, int _out, Term term ) : int
Search ( int anchors ) : bool
SetAll ( TextReader _in ) : void

Method Details

CharAt() public method

public CharAt ( int i ) : char
i int
return char

CharAt() public method

public CharAt ( int i, int groupId ) : char
i int
groupId int
return char

Find() public method

public Find ( ) : bool
return bool

Find() public method

public Find ( int anchors ) : bool
anchors int
return bool

FindAll() public method

public FindAll ( ) : MatchIterator
return MatchIterator

FindAll() public method

public FindAll ( int options ) : MatchIterator
options int
return MatchIterator

GetEnd() public method

public GetEnd ( int id ) : int
id int
return int

GetLength() public method

public GetLength ( int id ) : int
id int
return int

GetStart() public method

public GetStart ( int id ) : int
id int
return int

Group() public method

public Group ( int n, StringBuilder sb ) : bool
n int
sb StringBuilder
return bool

Group() public method

public Group ( int n, TextBuffer tb ) : bool
n int
tb TextBuffer
return bool

Group() public method

public Group ( string name, StringBuilder sb ) : bool
name string
sb StringBuilder
return bool

Group() public method

public Group ( string name, TextBuffer tb ) : bool
name string
tb TextBuffer
return bool

Group() public method

public Group ( int n ) : string
n int
return string

Group() public method

public Group ( string name ) : string
name string
return string

IsCaptured() public method

public IsCaptured ( ) : bool
return bool

IsCaptured() public method

public IsCaptured ( int id ) : bool
id int
return bool

IsCaptured() public method

public IsCaptured ( string groupName ) : bool
groupName string
return bool

IsStart() public method

public IsStart ( ) : bool
return bool

Matches() public method

public Matches ( ) : bool
return bool

Matches() public method

public Matches ( string s ) : bool
s string
return bool

MatchesPrefix() public method

public MatchesPrefix ( ) : bool
return bool

Proceed() public method

public Proceed ( ) : bool
return bool

Proceed() public method

public Proceed ( int options ) : bool
options int
return bool

SetTarget() public method

public SetTarget ( Matcher m, int groupId ) : void
m Matcher
groupId int
return void

SetTarget() public method

public SetTarget ( TextReader _in, int len ) : void
_in TextReader
len int
return void

SetTarget() public method

public SetTarget ( char text, int start, int len ) : void
text char
start int
len int
return void

SetTarget() public method

public SetTarget ( char text, int start, int len, bool shared ) : void
text char
start int
len int
shared bool
return void

SetTarget() public method

public SetTarget ( string text, int start, int len ) : void
text string
start int
len int
return void

Skip() public method

public Skip ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

ToString_d() public method

public ToString_d ( ) : string
return string