philnash to ProgrammingEnglish · 2 years agoA comprehensive guide to the dangers of Regular Expressions in JavaScriptwww.sonarsource.comexternal-linkmessage-square15linkfedilinkarrow-up1108arrow-down12cross-posted to: regexjavascript
arrow-up1106arrow-down1external-linkA comprehensive guide to the dangers of Regular Expressions in JavaScriptwww.sonarsource.comphilnash to ProgrammingEnglish · 2 years agomessage-square15linkfedilinkcross-posted to: regexjavascript
minus-squaresebsch@discuss.tchncs.delinkfedilinkarrow-up1arrow-down4·2 years 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?
minus-squareburntsushilinkfedilinkEnglisharrow-up3·2 years agoBoth Perl and Python use backtracking regex engines and are thus susceptible to similar problems as discussed in the OP.
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.