mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:55:26 +00:00
refactor: removed redundant escape characters from the unresolvedVariablesRegex variable
This commit is contained in:
parent
7f6c72853f
commit
ae07dce014
@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var unresolvedVariablesRegex = regexp.MustCompile(`(?:%7[B|b]|{){2}([^}]+)(?:%7[D|d]|}){2}["')}]*`)
|
||||
var unresolvedVariablesRegex = regexp.MustCompile(`(?:%7[B|b]|\{){2}([^}]+)(?:%7[D|d]|\}){2}["'\)\}]*`)
|
||||
|
||||
// ContainsUnresolvedVariables returns an error with variable names if the passed
|
||||
// input contains unresolved {{<pattern-here>}} variables.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user