@[email protected] to linuxmemes • 10 months agoParsing HTML with regexlemmy.sdf.orgimagemessage-square40fedilinkarrow-up1354arrow-down114file-textcross-posted to: [email protected]
arrow-up1340arrow-down1imageParsing HTML with regexlemmy.sdf.org@[email protected] to linuxmemes • 10 months agomessage-square40fedilinkfile-textcross-posted to: [email protected]
minus-square@fuckwit_mcbumcrumblelink3•edit-210 months agoMy regex at work is full of (<[^>]+\s*){0,5} because we don’t care about 90 percent of the attributes. All we care is it’s class=“data I want” and eventually take me to that data.
My regex at work is full of (<[^>]+\s*){0,5} because we don’t care about 90 percent of the attributes. All we care is it’s class=“data I want” and eventually take me to that data.