mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-18 08:30:52 +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
|