atomic groups and other features for preventing
ReDos Attack. this makes it very complicated to handle these kinds of attacks e.g coming up with a safe regex for a
url link such as the one below, can be very daunting:
therefore It will be very good to handle this in js like java or other languages to prevent
ReDos attacks, e.g java8 had this problem but in java9 this problem has been handled.
#You can find some patterns and their problems here