PHP Class Texy\Regexp

Inheritance: use trait Strict
Afficher le fichier Open project: dg/texy Class Usage Examples

Méthodes publiques

Méthode Description
match ( $subject, $pattern, $flags, $offset ) : mixed Performs a regular expression match.
replace ( $subject, $pattern, $replacement = NULL ) : string Perform a regular expression search and replace.
split ( $subject, $pattern, $flags ) : array Splits string by a regular expression.

Method Details

match() public static méthode

Performs a regular expression match.
public static match ( $subject, $pattern, $flags, $offset ) : mixed
Résultat mixed

replace() public static méthode

Perform a regular expression search and replace.
public static replace ( $subject, $pattern, $replacement = NULL ) : string
Résultat string

split() public static méthode

Splits string by a regular expression.
public static split ( $subject, $pattern, $flags ) : array
Résultat array