MediaWiki REL1_32
|
Class to replace regex matches with a string similar to that used in preg_replace() More...
Public Member Functions | |
__construct ( $r) | |
replace (array $matches) | |
Public Member Functions inherited from Replacer | |
cb () | |
Private Attributes | |
$r | |
Class to replace regex matches with a string similar to that used in preg_replace()
Definition at line 26 of file RegexlikeReplacer.php.
RegexlikeReplacer::__construct | ( | $r | ) |
string | $r |
Definition at line 32 of file RegexlikeReplacer.php.
References $r, and wfDeprecated().
RegexlikeReplacer::replace | ( | array | $matches | ) |
array | $matches |
Reimplemented from Replacer.
Definition at line 41 of file RegexlikeReplacer.php.
|
private |
Definition at line 27 of file RegexlikeReplacer.php.
Referenced by __construct().