In ColdFusion 5, the statements below were valid and returned a proper regular expression:
replaceList(list_URLFragmentsToIgnore, "$,[,],.,(,),{,},^,|,?,*,+,/" , "\$,\[,\],\.,\(,\),\{,\},\^,\|,\?,\*,\+,[/\]") REFindNoCase(RE_URLFragmentsToIgnore,"xxxxxx/system32/cmd.exe") In MX, the following error was returned: Malformed regular expression "(system32[/\]cmd\.exe|WebHelp[/\]nsdnsfix\.jar|WebHelp[/\]WebHelpBeanInfo\.c lass|WebHelp[/\]WebHelp\$COMClassObject\.class|[/\]MSADC[/\]|[/\]IISAdmin[/\] |[/\]scripts[/\]|[/\]samples[/\]|[/\]root\.exe|MSOffice[/\]|[/\]_vti_)". When I changed the replaceList command to: replaceList(list_URLFragmentsToIgnore, "$,[,],.,(,),{,},^,|,?,*,+,/" , "\$,\[,\],\.,\(,\),\{,\},\^,\|,\?,\*,\+,\/") It worked fine again. I'm assuming that since MX uses the Jrun engine, it uses a different RegEx parser. Anyone out there have a reference to the changes in regular expression parsing in MX? - Steve ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184439 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54