tracker issue : CF-3614456

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

==~: regex compare operator

| View in Tracker

Status/Resolution/Reason: To Fix//

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

Created: 08/19/2013

Components: Language

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 4

See http://cfmlblog.adamcameron.me/2013/08/thinking-about-operators-in-cfml.html

Suggest adding ==~ operator which returns true if the regex in the second operand matches the first operand, eg:

'a' ==~ '[a-z]'

would be true
-- 
Adam

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

Watson Bug ID:	3614456

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

yes please! ....................
Vote by External U.
14714 | December 11, 2014 02:31:12 PM GMT
Good idea!!!!!!!!!!!!!!!!!!!!!!!!!!
Vote by External U.
14715 | October 01, 2015 12:49:59 PM GMT
I like it! . . . . . . . . . . . . . .
Vote by External U.
14716 | October 01, 2015 07:39:15 PM GMT
+1 ......................
Vote by External U.
14717 | October 03, 2015 08:07:41 PM GMT