You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a regex route containing the capture group (.+) (matching everything).
This works as expected most of the time and I can access the matched group in the third argument of bind´s callback function. However, numeric values are somehow modified. 01 becomes 1… alright. But: 053 becomes 43. And 0123 becomes 83.
I have a regex route containing the capture group
(.+)
(matching everything).This works as expected most of the time and I can access the matched group in the third argument of bind´s callback function. However, numeric values are somehow modified.
01
becomes1
… alright. But:053
becomes43
. And0123
becomes83
.My Code is:
And the output is:
It's not a Javascript issue, if I match the path using the regex.exec function, the capture group is correct.
The text was updated successfully, but these errors were encountered: