Describe the bug
I am using validUrlQueryChars regex ( i.e. /[a-z0-9!?*'@();:&=+\$\/%#[]-_.,~|]/i; ) to detect an URI with Template but it is not detecting complete url
To Reproduce
example url - https://abc.com/path?param={VARIABLE}
Using above regex for matching query params for given url, it's only able to identify https://abc.com/path?param= this as the matched URL
Expected behavior
The regex should be able to match complete url i.e. https://abc.com/path?param={VARIABLE}
Describe the bug I am using validUrlQueryChars regex ( i.e. /[a-z0-9!?*'@();:&=+\$\/%#[]-_.,~|]/i; ) to detect an URI with Template but it is not detecting complete url
To Reproduce
example url -
https://abc.com/path?param={VARIABLE}
Using above regex for matching query params for given url, it's only able to identify
https://abc.com/path?param=
this as the matched URLExpected behavior The regex should be able to match complete url i.e.
https://abc.com/path?param={VARIABLE}
Please suggest.