• custom_situation@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    i mean, you can learn the basics of matching in 30 minutes or less. that core knowledge will be broadly applicable across any tool that uses regex. things get much easier once to have a handle on the basics.

    …or you can learn this regex dsl and still have to learn regex. the difference is you’re learning a non-portable regex syntax.

    • Kempeth@feddit.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Sure. I just very rarely need just basic regexes.

      And once you go beyond these the syntax gets very obtuse. Which means I’m spending an hour+ googling something close to what I need and then using a sandbox to try and tweak it until it does what I need. Then I paste something into my code that I won’t understand anymore 5 minutes into the future - which isn’t exactly great for maintainability.