• Alexstarfire@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      14 hours ago

      TBF to regex, it’s completely unreadable. I love the magic that can be done with it, but by God, it needs syntax highlighting. Something may do this, but I’ve never seen anything that does.

      • brianary@startrek.website
        link
        fedilink
        arrow-up
        1
        ·
        8 minutes ago

        You get used to it sooner than you’d think. There are libraries to convert between regex and English. Maybe it deserves a Unicode code block like APL?

    • I Cast Fist@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Ugh, i’ve had to write some Selenium tests where I had to come up with weird ass Xpaths because not a single fucking element had an ID and over half would spawn something in a different div