trevor@lemmy.ml to Open Source@lemmy.mlEnglish · 26 days agoAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgexternal-linkmessage-square23linkfedilinkarrow-up149arrow-down12cross-posted to: technology@midwest.socialopensource@programming.devtechnology@lemmy.mltechnik@feddit.orgfoss_de@feddit.org
arrow-up147arrow-down1external-linkAnnouncing list2regexp - Generate regular expressions to match lists of stringscodeberg.orgtrevor@lemmy.ml to Open Source@lemmy.mlEnglish · 26 days agomessage-square23linkfedilinkcross-posted to: technology@midwest.socialopensource@programming.devtechnology@lemmy.mltechnik@feddit.orgfoss_de@feddit.org
minus-squareCourant d'air 🍃linkfedilinkarrow-up3arrow-down2·25 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·25 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·25 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?