PackageDescription: ExRegex

Ex Regex

Last published: May 20, 2011 by 'tgriggs'

Defines 3 Classes
Extends 4 Classes

Implement Regex pattern matching by using host OS C libraries.

On OSX and Linux these should exist already. On Windows, fetch the binary from and place in same directory as your VM.

At this time, I only do matching, haven't done indexing or substitution at this time. Still a proof-of-concept.


Shorthand form:

'-?[0-9]+\.[0-9]+' ?= '13.8'

Reversed shorthand form

'-0.0' =? '-?[0-9]+\.[0-9]+'

Longhand form:

'r.-d.' exRegex match: 'r2-d2'

Controlling case:

'xyz' exRegex ignoreCase match: 'XyZ'