Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Using special characters in left part of a regex match?by LanX (Saint) |
on Feb 05, 2013 at 23:01 UTC ( [id://1017298]=note: print w/replies, xml ) | Need Help?? |
> Is there a way to put special characters in the left part of the regular expression? with special characters you mean the regex wildcards you're including for ... and the answer is no. in short
what could maybe work is to successively strip common beginning and/or ending parts. "Gallia est ..." is the smallest starting substring till an ellipsis. Deleting it from both strings:
this configuration is always true. such a strategy might work.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|