Closed benibela closed 2 years ago
x+x+ is xx+ not x+
x+x+
xx+
x+
Does not always remove all +.
E.g. ^(?:\d+\d+\p{Nd}\d+)$ becomes ((?:(?-m:^))[0-9][0-9]+[0-9][0-9]+(?:(?-m:$))), and ^(?:\d+\d+\d+\d+\d+)$ becomes ((?:(?-m:^))[0-9][0-9][0-9]+[0-9][0-9]+(?:(?-m:$)))
^(?:\d+\d+\p{Nd}\d+)$
((?:(?-m:^))[0-9][0-9]+[0-9][0-9]+(?:(?-m:$)))
^(?:\d+\d+\d+\d+\d+)$
((?:(?-m:^))[0-9][0-9][0-9]+[0-9][0-9]+(?:(?-m:$)))
fixes #69
x+x+
isxx+
notx+
Does not always remove all +.
E.g.
^(?:\d+\d+\p{Nd}\d+)$
becomes((?:(?-m:^))[0-9][0-9]+[0-9][0-9]+(?:(?-m:$)))
, and^(?:\d+\d+\d+\d+\d+)$
becomes((?:(?-m:^))[0-9][0-9][0-9]+[0-9][0-9]+(?:(?-m:$)))