Hacker News new | ask | show | jobs
by JackWebbHeller 4689 days ago
This was generated with frak - https://github.com/noprompt/frak

"frak transforms collections of strings into regular expressions for matching those strings. The primary goal of this library is to generate regular expressions from a known set of inputs which avoid backtracking as much as possible"

1 comments

I was about to ask "why", but the Readme on the Github page explains it.

Spoiler: 1. saving bytes in the Vim highlighting file, 2. because