trevor@lemmy.ml to Open Source@lemmy.mlEnglish · 3 days agoAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgexternal-linkmessage-square23fedilinkarrow-up145arrow-down11
arrow-up144arrow-down1external-linkAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgtrevor@lemmy.ml to Open Source@lemmy.mlEnglish · 3 days agomessage-square23fedilink
minus-squareCourant d'air 🍃@jlai.lulinkfedilinkarrow-up5arrow-down2·3 days agoI think the list of strings with pipes between each element would be shorter than this huge unreadable blob
minus-squaretrevor@lemmy.mlOPlinkfedilinkarrow-up4·3 days agoBeing pretty or short is not a goal of this project, nor do I see the value in such goals.
minus-squareHelix 🧬@feddit.orglinkfedilinkEnglisharrow-up2·2 days agoPretty and short probably also have better performance. Did you manually come up with a prettier regex to compare against?
I think the list of strings with pipes between each element would be shorter than this huge unreadable blob
Being pretty or short is not a goal of this project, nor do I see the value in such goals.
Pretty and short probably also have better performance.
Did you manually come up with a prettier regex to compare against?