mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-26 15:00:07 +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
|