philnash@programming.dev to Programming@programming.dev • 1 year agoA comprehensive guide to the dangers of Regular Expressions in JavaScriptexternal-linkmessage-square9 fedilinkarrow-up143cross-posted to: regex@programming.devjavascript@programming.dev
arrow-up143external-linkA comprehensive guide to the dangers of Regular Expressions in JavaScriptphilnash@programming.dev to Programming@programming.dev • 1 year agomessage-square9 Commentsfedilinkcross-posted to: regex@programming.devjavascript@programming.dev
minus-squaresebsch@discuss.tchncs.dehexbear1·1 year agoOk 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? linkfedilink
minus-squareburntsushi@programming.devhexbear2·1 year agoBoth Perl and Python use backtracking regex engines and are thus susceptible to similar problems as discussed in the OP. linkfedilink
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?
Both Perl and Python use backtracking regex engines and are thus susceptible to similar problems as discussed in the OP.