trevor@lemmy.ml to Open Source@lemmy.mlEnglish · 7 days agoAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgexternal-linkmessage-square23linkfedilinkarrow-up138arrow-down12cross-posted to: opensource@programming.dev
arrow-up136arrow-down1external-linkAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgtrevor@lemmy.ml to Open Source@lemmy.mlEnglish · 7 days agomessage-square23linkfedilinkcross-posted to: opensource@programming.dev
minus-squareCourant d'air 🍃@jlai.lulinkfedilinkarrow-up3·7 days agoI think the list of strings with pipes between each element would be shorter than this huge unreadable blob
minus-squaretrevor@lemmy.mlOPlinkfedilinkarrow-up2·7 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·6 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?