- cfregex/src/functions/RegexQuote.cfm
- develop
- 300 B
- 4
1<cffunction name="RegexQuote" returntype="String" output="false" >
2 <cfargument name="Pattern" type="String" required=true />
3 <cfargument name="Flags" type="String" optional />
4 <cfreturn new Regex(ArgumentCollection=Arguments,FuncName="quote").quote(ArgumentCollection=Arguments) />
5</cffunction>