@pmjv@lemmy.sdf.org to linuxmemes@lemmy.world • 1 year agoParsing HTML with regexlemmy.sdf.orgimagemessage-square37fedilinkarrow-up1347file-textcross-posted to: calligraphy@lemmy.sdf.org
arrow-up1347imageParsing HTML with regexlemmy.sdf.org@pmjv@lemmy.sdf.org to linuxmemes@lemmy.world • 1 year agomessage-square37fedilinkfile-textcross-posted to: calligraphy@lemmy.sdf.org
minus-square@fuckwit_mcbumcrumble@lemmy.worldlinkfedilink3•edit-21 year 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.
deleted by creator
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.