Title:
Bug 84167:(Watson Migration Closure)Allow more advanced features in regular expression functionsCurrently the regular expression syntax in ColdFusion doesn't allow features like lookbehinds, atomic groups, possessive quantifiers, condit
| View in TrackerStatus/Resolution/Reason: Closed/Deferred/
Reporter/Name(from Bugbase): Sebastian Zartner / Sebastian Zartner (Sebastian Zartner)
Created: 09/14/2010
Components: Language, Functions
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,1,274733 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Platforms All
Vote Count: 1
Problem:
Allow more advanced features in regular expression functionsCurrently the regular expression syntax in ColdFusion doesn't allow features like lookbehinds, atomic groups, possessive quantifiers, conditionals, balancing groups etc.Since CF is based on Java and the regex engine implemented in Java is supporting at least lookbehinds, atomic groups and possessive quantifiers I would expect CF to support this, too.Conditionals, balanced groups and other features (as described at http://www.regular-expressions.info/tutorial.html) would surely make the life of programmers even easier, but I'd already be happy, if the features mentioned above would be integrated into CF.
Method:
<cfdump var="REFind("(?<=Cold)Fusion", "ColdFusion", 1, TRUE)#">
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042166
External Customer Info:
External Company:
External Customer Name: Sebastian Zartner
External Customer Email: 4E7365D64550DB12992015D5
External Test Config: 09/14/2010
Attachments:
Comments: