Re:Show HN: my regular expression example match generator
by abecedarius on Friday September 24, 2010 @07:05PM
(#1725736)
Since the intersection of two regular languages is a regular language, you could reduce generating 'background language' example matches to taking intersections. It's unfortunate how rare it is for libraries to provide you that operation.
(Same thing for HTML: intersecting a regular language with a context-free one is context-free.)
(Same thing for HTML: intersecting a regular language with a context-free one is context-free.)