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