Ticket #174 (assigned enhancement)
Support for Regular Expression literals and matching
Reported by: | webnov8 | Owned by: | Chuck |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | |
Keywords: | Cc: |
Description
Given the importance of regular expressions in everyday programming a literal for Regex types would be a great convenience.
if /^\bcobra\b/i in 'cobra programming' print 'found cobra'
for /\b(\w+)\b/ in 'the quick brown fox' print $1 # support for groups/captures, maybe?
exp = /\bcobra\b/c # compile this regex
Attachments
Change History
Note: See
TracTickets for help on using
tickets.