Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/30/2012
Components: Language
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final / 294412, 294432
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 2
There's currently a gap in CF's regex finding. reFind() will return subexpressions, but only return one match. reMatch() returns all matches, but no sub expressions.
I recommend updating reFind() to take an additional argument, scope, which is "ONE" or "ALL". This would make it cover all the bases both functions need.
This would then match reMatch() redundant, and as it's merits are... limited (it's not much use if one cannot get subexpressions too)... I suggest just deprecating it. CF doesn't need both find & match functions which do subsets of the same functionality.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3321666
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: