• TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    12 hours ago

    Depends on what you need to match. Regex is just another programming language. It’s more declarative than traditional languages though (it’s basically pattern matching).

    Pattern matching is something I already do a lot of in my code, so regexes aren’t that much different.

    Regardless, the syntax sucks. It takes some time to get familiar with it, but once you get past that, it’s really simple.