Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: js-regex, a fluent regex builder for JavaScript (github.com/wyantb)
3 points by wyantb on Aug 18, 2013 | hide | past | favorite | 2 comments


I liked the API in Verbal Expressions a bit more: https://github.com/VerbalExpressions/JSVerbalExpressions


Do you mean that you prefer the method names in VerbalExpressions, or the lack of nesting? I've been experimenting with my method names a little bit here and there, so that's been in flux. The lack of nesting in VerbalExpressions, though, I think really limits the ability to produce arbitrarily complex regexes, such as https://github.com/wyantb/js-regex#business-logic-regex . Perhaps it could be said that one shouldn't write regexes that complicated anyway, though, so there's a case for their API anyway :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: