CF9 and CF10 use Jakarta ORO v2.0.6 - changing it for existing functions will lead to a loss of backward compatibility, as other regular expression engines use different syntax (for matching and replacement).
However, you can access the java.util.regex package from CF, which provides access to the version of this engine that your JRE uses, using CreateObject / type = java
If you don't like working with Java classes yourself, I created a project that wraps the java.util.regex library in a set of convenient CFML functions, see cfregex.net for more details.
source share