• sebsch@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    arrow-down
    4
    ·
    9 months ago

    Ok thanks for the clarification.

    I would argue, the gold standard of regex would be perlre or even re from python. I never heard one discouraging using them. Do you know sth I don’t?

    • burntsushi@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 months ago

      Both Perl and Python use backtracking regex engines and are thus susceptible to similar problems as discussed in the OP.