in reply to question mark in there
If you just want to see if a string is in another string, then use index. If you still feel a burning need to use a regex, then use quotemeta on b.
In Section
Seekers of Perl Wisdom
in reply to question mark in there