No such thing as a small change | |
PerlMonks |
Regex wild card substitution - SOLVEDby Lori713 (Pilgrim) |
on Nov 11, 2008 at 18:06 UTC ( [id://722929]=perlquestion: print w/replies, xml ) | Need Help?? |
Lori713 has asked for the wisdom of the Perl Monks concerning the following question:
I have a regex to replace some SQL criteria with a more user-friendly label on a report. The SQL where clause is (and, yes, there is a reason for the extraneous parentheses here which I won't bore you with): My regex is: This regex is apparently being skipped because no substitions are being made. The following works fine: The SQL WHERE clause: using this regex: Any suggestions where I've wandered off the path would be appreciated. Thanks! Lori Previous content restored above by GrandFather I was going to ask a question about why a regex wasn't working and forgot to put the '\' in front of the parentheses to make it escape. Sorry for the inconvenience.
Back to
Seekers of Perl Wisdom
|
|