C# Class NRegex.Pattern

Afficher le fichier Open project: olabini/nregex Class Usage Examples

Méthodes publiques

Méthode Description
GroupId ( string name ) : int
Matcher ( ) : Matcher
Matcher ( MatchResult res, int groupId ) : Matcher
Matcher ( MatchResult res, string groupName ) : Matcher
Matcher ( TextReader text, int length ) : Matcher
Matcher ( char data, int start, int end ) : Matcher
Matcher ( string s ) : Matcher
Matches ( string s ) : bool
Pattern ( string regex ) : System
Pattern ( string regex, REFlags flags ) : System
Pattern ( string regex, string flags ) : System
Quote ( string input ) : string
Replacer ( Substitution model ) : Replacer
Replacer ( string expr ) : Replacer
StartsWith ( string s ) : bool
ToString ( ) : string
ToString_d ( ) : string
Tokenizer ( TextReader input, int length ) : RETokenizer
Tokenizer ( char data, int off, int len ) : RETokenizer
Tokenizer ( string text ) : RETokenizer

Méthodes protégées

Méthode Description
Compile ( string regex, REFlags flags ) : void
Pattern ( ) : System

Private Methods

Méthode Description
GetFlag ( char c ) : REFlags
ParseFlags ( char data, int start, int len ) : REFlags
ParseFlags ( string flags ) : REFlags

Method Details

Compile() protected méthode

protected Compile ( string regex, REFlags flags ) : void
regex string
flags REFlags
Résultat void

GroupId() public méthode

public GroupId ( string name ) : int
name string
Résultat int

Matcher() public méthode

public Matcher ( ) : Matcher
Résultat Matcher

Matcher() public méthode

public Matcher ( MatchResult res, int groupId ) : Matcher
res MatchResult
groupId int
Résultat Matcher

Matcher() public méthode

public Matcher ( MatchResult res, string groupName ) : Matcher
res MatchResult
groupName string
Résultat Matcher

Matcher() public méthode

public Matcher ( TextReader text, int length ) : Matcher
text System.IO.TextReader
length int
Résultat Matcher

Matcher() public méthode

public Matcher ( char data, int start, int end ) : Matcher
data char
start int
end int
Résultat Matcher

Matcher() public méthode

public Matcher ( string s ) : Matcher
s string
Résultat Matcher

Matches() public méthode

public Matches ( string s ) : bool
s string
Résultat bool

Pattern() protected méthode

protected Pattern ( ) : System
Résultat System

Pattern() public méthode

public Pattern ( string regex ) : System
regex string
Résultat System

Pattern() public méthode

public Pattern ( string regex, REFlags flags ) : System
regex string
flags REFlags
Résultat System

Pattern() public méthode

public Pattern ( string regex, string flags ) : System
regex string
flags string
Résultat System

Quote() public static méthode

public static Quote ( string input ) : string
input string
Résultat string

Replacer() public méthode

public Replacer ( Substitution model ) : Replacer
model Substitution
Résultat Replacer

Replacer() public méthode

public Replacer ( string expr ) : Replacer
expr string
Résultat Replacer

StartsWith() public méthode

public StartsWith ( string s ) : bool
s string
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

ToString_d() public méthode

public ToString_d ( ) : string
Résultat string

Tokenizer() public méthode

public Tokenizer ( TextReader input, int length ) : RETokenizer
input System.IO.TextReader
length int
Résultat RETokenizer

Tokenizer() public méthode

public Tokenizer ( char data, int off, int len ) : RETokenizer
data char
off int
len int
Résultat RETokenizer

Tokenizer() public méthode

public Tokenizer ( string text ) : RETokenizer
text string
Résultat RETokenizer