C# Class LitDev.LDRegex

Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Méthode Description
Match ( Primitive input, Primitive pattern, Primitive caseSensitive ) : Primitive

Perform a regex match.

Replace ( Primitive input, Primitive pattern, Primitive replacement, Primitive caseSensitive ) : Primitive

Perform a regex find and replace.

Method Details

Match() public static méthode

Perform a regex match.
public static Match ( Primitive input, Primitive pattern, Primitive caseSensitive ) : Primitive
input Primitive The input string to perform the match on (unaltered).
pattern Primitive The regex pattern string.
caseSensitive Primitive If the regex match is case sensitive ("True" or "False").
Résultat Primitive

Replace() public static méthode

Perform a regex find and replace.
public static Replace ( Primitive input, Primitive pattern, Primitive replacement, Primitive caseSensitive ) : Primitive
input Primitive The input string to perform the replacement on (unaltered).
pattern Primitive The regex pattern string.
replacement Primitive The regex replacement string.
caseSensitive Primitive If the regex replace is case sensitive ("True" or "False").
Résultat Primitive