Regex Pattern Differs Between Versions
Closed this issue · 1 comments
travistrue2008 commented
It looks like the regex output changes between versions 1.2.1
and 1.3.0
when the loose
property is set to true
:
v.1.2.1: /^\/users(?:$|\/)/i
v1.3.0: /^\/users(?=$|\/)/i
I get consistent output when it's not set though:
v1.2.1: /^\/users\/?$/i
v.1.3.0: /^\/users\/?$/i