Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Calculate the difference and intersection of any two regexes. Parent comment
In an engine supporting ^ and $, searching for this
(a|b|^)(c|d|^)foo
^((.*a|.*b)(c|d)|c|d)?foo.*$
There are no comments on this comment yet.
In an engine supporting ^ and $, searching for this
is equivalent to searching for this And in this context you can drop the leading/trailing ^/$ since they are implicit.