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