c/opensource@lemmy.ml · trevor@lemmy.ml · 17 Sep 2026 21:20 Announcing list2regexp - Generate regular expressions to match lists of strings Codeberg.org list2regexp Generate regular expressions to match lists of strings check post at origin
(?: strings|stringb|stringc)
Is valid regex given a list of strings to match, no?
Is the advantage here some performance gain or potential to use fewer characters depending on the list?
Edit: I see elsewhere it’s specifically so you can match against a long list of specific IPs - so maybe a bit of both.