News for hackers. Stuff that matters.
Re:Show HN: Regex Cheatsheet by glangdale on Friday January 31, 2020 @05:57PM (#22206814)
Oddly, lookbehinds are evil only in a specific backtracking world. We never got around to implementing arbitrary lookarounds in Hyperscan (https://github.com/intel/hyperscan) but if we had done something in the automata world to handle lookaround, lookbehinds are way easier than lookaheads.

To handle a lookbehind, you really only need to occasionally 'AND' together some states (not an operation you would normally do in a standard NFA whether Glushkov or Thompson). To handle lookaheads... well, it gets ugly.

Re:Show HN: Regex Cheatsheet by wahern on Friday January 31, 2020 @07:35PM (#22207519)
Even for non-fixed length expressions?
Re:Show HN: Regex Cheatsheet by glangdale on Tuesday February 04, 2020 @12:11AM (#22232616)
Variable-length backward asserts are fine in automata-land, which is a bit peculiar.