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 believe this is basically already supported if you replace the outer () with {}, e.g. {-od-:price_0(\\d+)}?. It allows for a custom prefix and suffix.
Hi, first of all big thanks for your work ;)
I am using your library to parse my kind of complicated friendly URL.
Do you think it is / would be possible to have a regexp like this? I mean including captured groups.
const priceRegex = "(cena)?(-od-:price_0(\\d+))?(-do-:price_1(\\d+))?(-zl)?";
I am trying to work around it, however this would be very useful in the future.
Thanks in advance,
The text was updated successfully, but these errors were encountered: