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-squareCourant d'air 🍃@jlai.lulinkfedilinkarrow-up5·29 days agoI think the list of strings with pipes between each element would be shorter than this huge unreadable blob
minus-squaretrevor@lemmy.mlOPlinkfedilinkarrow-up3·29 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·28 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?