Dnia 2020-06-08, o godz. 16:22:24 Robert Engels <reng...@ix.netcom.com> napisaĆ(a):
> it is trivial to limit the input size to something a user could input. With exponential complexity simple regex /(x+x+)+y/ blows up at input of 20 to 30 x-es. See: https://www.regular-expressions.info/catastrophic.html [Cut long explanations... Axel just posted most of what I was writing regarding trade-offs). Hope this helps, -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/20200609002207.0a161adf%40xmint.