in reply to Matching brackets in Regular Expression
Is there any reason why you don't want to drop the
.*
from both ends of the regex ????
My understanding is that using:
will recognize any occurence of $stubif ($text =~ /$stub/s)
Without knowing more about your intentions, it would seem difficult to offer detailed fine tuning advice.
|
|---|