For:
my $sequence = "111...1111...11"; my $find = "11111";
Prints:
found? 1111
whereas the OP says "if I do not find the whole word within a sequence and start truncating the word, then it can only match at either end of a sequence and not within".
In reply to Re^2: Searching for a word that may only exist in part
by GrandFather
in thread Searching for a word that may only exist in part
by seaver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |