trevor@lemmy.ml to Open Source@lemmy.mlEnglish · 29 days agoAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgexternal-linkmessage-square23fedilinkarrow-up141cross-posted to: technology@midwest.socialopensource@programming.devtechnology@lemmy.ml
arrow-up141external-linkAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgtrevor@lemmy.ml to Open Source@lemmy.mlEnglish · 29 days agomessage-square23fedilinkcross-posted to: technology@midwest.socialopensource@programming.devtechnology@lemmy.ml
minus-squareHotChickenFeet@sopuli.xyzlinkfedilinkarrow-up3·edit-228 days ago(?: 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.
(?: 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.