mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-18 08:30:52 +00:00
1d1215bafb
Bug: T285468 Change-Id: I25f8ad1b58cc10f4c6f6ef5ebab99fe58ec71b1e
4 lines
195 B
Perl
4 lines
195 B
Perl
str_replace_regexp( "foobarbaz", "bar", "" ) === 'foobaz' &
|
|
str_replace_regexp( "foo1bar1baz", "\d", "" ) === 'foobarbaz' &
|
|
str_replace_regexp( "foobarbaz", "(bar)", "$1baz" ) === 'foobarbazbaz'
|