: <cfset delimiters = '[:space:]'>
: <cfif not refindnocase("^((and|or|not|filter+[0-9])*[#delimiters#]*)*$",
: string)>
This looks kinda funny to me. You are allowing "filterfilter9" but not
"filter19" -- is this what you meant?
Assuming the legal words are 'and or not filterx" where x is a number, I
think you want to use:
<cfif not refindnocase("^((and|or|not|filter[0-9]+)*[[:space:]]*)*$",
string)>
Bad string
<cfelse>
good string
</cfif>
In any case, when I changed the if/endif with the <cfexit> to an
if/else/endif structure, it fixed the crash. You'll have to ask someone
more wise in the ways of CF than me why. :-)
Good luck.
--Ben Doom
Programmer & General Lackey
Moonbow Software
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists