cm0002@lemmy.world to Programmer Humor@programming.dev · 8 天前what debugging regex feels likelemmy.mlimagemessage-square73fedilinkarrow-up1903arrow-down114
arrow-up1889arrow-down1imagewhat debugging regex feels likelemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 8 天前message-square73fedilink
minus-squarefuckwit_mcbumcrumble@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up10·8 天前At my company we store our regex in the database with linebreaks in it, but when it’s actually called to be used those line breaks are stripped out. That way regex that looks for X can all be all on one line and actually readable.
minus-squaretyler@programming.devlinkfedilinkarrow-up10·8 天前wait… why do you have so many regexes you need to put them in a database???
At my company we store our regex in the database with linebreaks in it, but when it’s actually called to be used those line breaks are stripped out. That way regex that looks for X can all be all on one line and actually readable.
wait… why do you have so many regexes you need to put them in a database???
My job is regex.
Ummmmmmmm