diff --git a/v2/internal/testutils/integration.go b/v2/internal/testutils/integration.go index 2e457bfb..1f59c301 100644 --- a/v2/internal/testutils/integration.go +++ b/v2/internal/testutils/integration.go @@ -32,7 +32,7 @@ func RunNucleiAndGetResults(template, url string, debug bool, extra ...string) ( return parts, nil } -var templateLoaded = regexp.MustCompile(`(?:Templates|Workflows) loaded: ([0-9]+)`) +var templateLoaded = regexp.MustCompile(`(?:Templates|Workflows) loaded: (\d+)`) // RunNucleiAndGetResults returns a list of results for a template func RunNucleiBinaryAndGetLoadedTemplates(nucleiBinary string, args []string) (string, error) {