in reply to
Finding a Block of Text in a Larger Block of Text
1) An exact duplicate
perldoc -f index
Comment on
Re: Finding a Block of Text in a Larger Block of Text
Download
Code
Replies are listed 'Best First'.
Re^2: Finding a Block of Text in a Larger Block of Text
by
kennethk
(Abbot)
on Oct 13, 2011 at 18:11 UTC
Note this will only work if 'exact duplicate' is order sensitive. If the modifier-order is irrelevant, this comparison with fail since index will check for identical strings.
[reply]
In Section
Seekers of Perl Wisdom