tracker issue : CF-3042199

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

Bug 84263:(Watson Migration Closure)As we all know RegExs can get very cryptic

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Eric Twilegar / Eric Twilegar (twillerror)

Created: 09/19/2010

Components: Language

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

As we all know RegExs can get very cryptic.  Java I believe supports free spacing and comments that could make these easier to write.Check out the URLhttp://www.regular-expressions.info/comments.htmlThis explains that you can have line breaks in your regExs that make it easier to write out and like Python you can have a # comment at the end of those lines. Imagine a CFRegEx tag that works like CFQUERY so you would have code like<CFREGEX>the  # sentence begins with the(cat|dog|fish) # followed by cat, dog, or fish.</CFREGEX>Obviously over simplified and you might need some tags for replace, etc, but this could make writing powerful RegEx fieel more like a regular script/query/etc.
Method:


Result:

Support for RegEx free spacing and comments.http://www.regular-expressions.info/comments.html

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

Watson Bug ID:	3042199

External Customer Info:
External Company:  
External Customer Name: Eric Twilegar
External Customer Email: 3D9A02F5446CCE0A992015D5
External Test Config: 09/19/2010

Attachments:

Comments: