wyantb/js-regex
View on GitHub ↗ ★ 66 JavaScript
A chainable API for constructing RegExps, written in Javascript
3 mentions on Hacker News by 1 person: 1 story, 2 comments · first 2013-08-18 · latest 2013-09-05
20082026
-
…suggestion along these lines ( implemented in a similar JS library I whipped up not too long ago: https://github.com/wyantb/js-regex ). Macros! https://github.com/wyantb/js-regex#macros Given some named macro, whenever the user wants to…
comment by wyantb · 2013-09-05 · in A human way to define regular expressions in Ruby -
…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,…
comment by wyantb · 2013-08-18 · in Show HN: js-regex, a fluent regex builder for JavaScript