ryan-endacott / verbal_expressions

Make difficult regular expressions easy! Ruby port of the awesome VerbalExpressions repo - https://github.com/jehna/VerbalExpressions
MIT License
571 stars 26 forks source link

Fixed issue #4, added min,max arguments for multiple() #7

Closed svineet closed 11 years ago

svineet commented 11 years ago

Added a new class calle VerExChain. VerExChain needs to end with a call to .end or .end_of_line(). All tests pass.
The multiple() method now accepts an argument min and max to match occurrences between desired limits. Tests for this have also been added.

svineet commented 11 years ago

I added a new class VerExChain, as I could not mod VerEx itself to support chaining. Also, or() and then() have been added as alias methods. Tests for these and normal tests have also been added.

svineet commented 11 years ago

Closing this