mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-26 12:32:58 +00:00
5 lines
148 B
Perl
5 lines
148 B
Perl
|
strpos( "foobarfoo", "foo" ) === 0 &
|
||
|
strpos( "foobarfoo", "" ) === -1 &
|
||
|
strpos( "foobarfoo", "foo", 1 ) === 6 &
|
||
|
strpos( "foobarfoo", "lol" ) === -1
|