Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why Using .* in Regular Expressions Is Almost Never What You Actually Want. Parent comment
If you have a complicated regex $r, you can only negate it with (?:(?!$r).), and in that case, .$r is much easier to read :-)
There are no comments on this comment yet.
If you have a complicated regex $r, you can only negate it with (?:(?!$r).), and in that case, .$r is much easier to read :-)