mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-04 18:38:25 +00:00
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'
|