mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
Change escaping handling -- make \d => \d instead of d. It helps with writing regexes.
This commit is contained in:
parent
55b417f517
commit
5983a65415
|
@ -780,7 +780,7 @@ class AbuseFilterParser {
|
|||
$tok .= 'x';
|
||||
}
|
||||
} else {
|
||||
$tok .= $code[$offset + 1];
|
||||
$tok .= "\\" . $code[$offset + 1];
|
||||
}
|
||||
|
||||
$offset+=2;
|
||||
|
|
Loading…
Reference in a new issue