commit | ba3b8414a98c81371cffa65ec8769d29c46d6b8a | [log] [tgz] |
---|---|---|
author | Jason Tsay <jasontsay@google.com> | Fri Jul 01 16:19:15 2011 -0700 |
committer | Jason Tsay <jasontsay@google.com> | Mon Jul 11 12:01:57 2011 -0700 |
tree | 14aad5361a861700af3860e13abc44e48910a898 | |
parent | 7844ba4f55af24adc7a7dd074891b243650e7fca [diff] |
Add regex/2,3 predicate regex/3 predicate takes a pattern term in the form of a regular expression and either a single term or a list of terms to match the pattern against. Returns each match. regex/2 predicate takes the pattern and term(s) to match and returns true if any match exists. Change-Id: I20e18a84ea22f9c508aac9beb3136798b9c88eee