tracker issue : CF-3284123

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

RegEx search for structKeyExists

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Scott Stroz / Scott Stroz (Scott Stroz)

Created: 07/11/2012

Components: Language

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 1

It would be cool if structKeyExists() could test against a regular expression.

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

Watson Bug ID:	3284123

External Customer Info:
External Company:  
External Customer Name: Scott Stroz
External Customer Email:

Attachments:

Comments:

Definitely! That would rock. And I've definitely had need to do this in the past -- Adam
Vote by External U.
18734 | June 19, 2013 08:19:46 AM GMT
Not a good idea to spoil the simple and clean API. The current API allows the implementation to be hash based to keep the search fast. RegEx based one would mean that each entry would need to be iterated which would change the order of complexity from O(1) to O(n). Will not be done.
Comment by Rupesh K.
18733 | September 05, 2013 01:49:48 AM GMT