mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +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'
|