Merge 2fb45693c3
into de1a4c463c
This commit is contained in:
commit
9383318c87
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ var (
|
|||
alphaNumericChars = `\-\.\_\~a-zA-Z0-9\/:`
|
||||
extendedAlphaNumeric = alphaNumericChars + ", "
|
||||
regexEnabledChars = regexp.QuoteMeta(`^$[](){}*+?|&=\`)
|
||||
urlEnabledChars = regexp.QuoteMeta(`,:?&=`)
|
||||
urlEnabledChars = regexp.QuoteMeta(`@,:?&=`)
|
||||
)
|
||||
|
||||
// IsValidRegex checks if the tested string can be used as a regex, but without any weird character.
|
||||
|
|
Loading…
Reference in a new issue