[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 105 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PregEngine:: (6 méthodes):
setIgnoreCase()
getIgnoreCase()
preparePattern()
match()
matchAll()
replace()
Classe: PregEngine - X-Ref
PREG Regexp Engine.setIgnoreCase($bit) X-Ref |
Sets whether or not regex operation is case sensitive. param: boolean $bit return: void |
getIgnoreCase() X-Ref |
Gets whether or not regex operation is case sensitive. return: boolean |
preparePattern($pattern) X-Ref |
The pattern needs to be converted into PREG style -- which includes adding expression delims & any flags, etc. param: string $pattern return: string prepared pattern. |
match($pattern, $source, &$matches) X-Ref |
Matches pattern against source string and sets the matches array. param: string $pattern The regex pattern to match. param: string $source The source string. param: array $matches The array in which to store matches. return: boolean Success of matching operation. |
matchAll($pattern, $source, &$matches) X-Ref |
Matches all patterns in source string and sets the matches array. param: string $pattern The regex pattern to match. param: string $source The source string. param: array $matches The array in which to store matches. return: boolean Success of matching operation. |
replace($pattern, $replace, $source) X-Ref |
Replaces $pattern with $replace in $source string. References to \1 group matches will be replaced with more preg-friendly $1. param: string $pattern The regex pattern to match. param: string $replace The string with which to replace matches. param: string $source The source string. return: string The replaced source string. |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |