Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2013 (3)
20082026
  1. …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…
  2. …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,…