Lori713 has asked for the wisdom of the Perl Monks concerning the following question:
My regex is:AND ((P.NCG_FIS_MGR IN ('H', 'I')))
This regex is apparently being skipped because no substitions are being made.$sub_name_for_codes =~ s/AND \(\(P.NCG_FIS_MGR IN \('.*'\)\)\) / AND Fiscal Manager Name like $fis_mgr_name_va +lue /g;
using this regex:AND P.PROJECT_ID IN ('521590', '529302', '529808', '528230') AND I.NC_ +NAME LIKE 'Thom%'
Any suggestions where I've wandered off the path would be appreciated. Thanks!$sub_name_for_codes =~ s/AND P.PROJECT_ID IN \('.*'\) AND I.NC_NAME LI +KE / AND Investigator like /g;
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.
|
|---|