tracker issue : CF-3037998

select a category, or use search below
(searches all categories and all time range)

Bug 76175:(Watson Migration Closure)Summary: upgrade CF's regex engine

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 03/25/2009

Components: Language, Functions

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 224233 / CF2018U5

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 17


Summary: upgrade CF's regex engine

See the thread here:{81302E9C-2163-4C37-9582-D9C14B236AE8}&topid={4FCEE99F-45FB-481C-93A4-66C20E701064}&tp=1

I has just referring back to an older thread, and decided to follow up on something Elliott mentioned.

    Elliott Sprehn said:
    Instead CF uses a Perl5 compatible library that comes with Apache Jakarta-ORO.

I was just looking into this some more.  ORO hasn’t seen any development since 2003.  Is it about time Adobe upgraded to a regex implementation that’s still seeing development, and possibly has support for some of the more contemporary features available to regexes now?

This is from the ORO project page

    Most recent releases:
    Release Version Date
    jakarta-oro 2.0.8 2003-12-28

Centaur’s only using 2.0.6, it seems: jakarta-oro-2.0.6.jar, which seems to date from 2002, according to this.  That’s getting a bit long in the tooth.




----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3037998

External Customer Info:
External Company:  
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 03/25/2009



This bug has been voted..
Vote by External U.
23850 | November 10, 2011 07:18:16 PM GMT
+1! I'd like to use negative lookbehinds in CF regex (w/o dropping to Java)
Vote by External U.
23851 | November 10, 2011 07:18:17 PM GMT
After having worked with regular expression for the past week (in CF9 / CF10), I'm about ready to kick someone's puppy. Please fix this! :(
Vote by External U.
23852 | August 14, 2012 06:58:39 AM GMT
this is an absolute necessity
Vote by External U.
23853 | August 14, 2012 07:02:27 AM GMT
The fact this is so out dated is a disgrace. Regex is fundamental to any language, being hamstrung by this old engine is hugely aggravating.
Vote by External U.
23854 | August 14, 2012 02:42:15 PM GMT
It would be good to have a more up-to-date and widely used regex implementation
Vote by External U.
23855 | September 28, 2012 12:40:31 AM GMT
I run into various regex bugs and incapabilities not infrequently.
Vote by External U.
23856 | October 10, 2012 11:12:31 AM GMT
Hopefully this can be targeted for CF12. Thanks!, -Aaron
Comment by External U.
23846 | April 26, 2014 02:01:51 AM GMT
+1. Please change the priority to at least high.
Vote by External U.
23857 | June 20, 2015 06:11:02 AM GMT
+1 .................................................
Vote by External U.
23858 | June 29, 2015 05:54:46 AM GMT
While it may cause a couple backwards-compatibility issues with different syntaxes (like backreferencing), using Java's default regex engine would be really great to give us features like negative lookbehind.
Vote by External U.
23859 | June 29, 2015 09:04:29 AM GMT
Long overdue - I like working with RegEx's but CF's implementation drives me nuts sometimes. Time to bring CF up to date with the rest of the world.
Vote by External U.
23860 | June 29, 2015 05:18:38 PM GMT
Agreed...this is way overdue. Would be great to use one of the modern libraries where there are examples and testing tools already existing.
Vote by External U.
23861 | June 29, 2015 09:53:18 PM GMT
+1 This is very much required and overdue
Comment by External U.
23847 | June 30, 2015 02:32:19 AM GMT
+1 because regular expressions are extremely powerful and are not fully available in CF when they are in other languages.
Vote by External U.
23862 | June 30, 2015 02:33:26 AM GMT
I'd call you a genius, except I'm in the room. I'm the Doctor, I can save the world with a kettle and some string!
Vote by External U.
23863 | June 30, 2015 12:29:08 PM GMT
Please. Of course, better implementation of Java, per the other ticket, would also help here (as I usually use Java for Regex anyway), it would be so much better to actually stay within ColdFusion. This is pretty sad to be this far out of data when the language is celebrating it's 20th birthday tomorrow.
Vote by External U.
23864 | July 01, 2015 02:25:44 PM GMT
Vote by External U.
23865 | October 02, 2015 10:22:19 AM GMT
Yes, yes, yes, yes, yes, yes.
Vote by External U.
23866 | October 02, 2015 02:19:12 PM GMT
Hi Adobe, Please add this to my Aether wish list. Thanks!, -Aaron
Comment by External U.
23848 | May 24, 2016 02:56:37 AM GMT
Hi Adobe, IMO, this ticket needs prioritized. ORO nearly dates back to the Mayans. #HardlySomethingToBragAbout Thanks!, -Aaron
Comment by Aaron N.
23849 | February 15, 2018 04:49:57 AM GMT