you are viewing a single comment's thread
view the rest of the comments
[–] -4 points 2 years ago (3 children)

Is there one thing not screwed up in this language? I mean it's regex, there are so many good implementations for it.

  • source
  • hideshow 3 child comments
  • [–] [S] 5 points 2 years ago (2 children)

    JavaScript's regex engine isn't the only one to have these problems. There certainly are other implementations, like Re2 and Rust's implementation, that don't have this issue. But they also lack some of the features of the JS implementation too.

  • source
  • parent
  • hideshow 2 child comments
  • [–] -3 points 2 years ago (1 child)

    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?

  • source
  • parent
  • hideshow 1 child comment