From 775d6149cb703fe1cb06ccd003a59fdf0ec222b8 Mon Sep 17 00:00:00 2001 From: tim neutkens Date: Sat, 11 Jun 2016 14:23:05 +0200 Subject: [PATCH] Groups instead of roups --- bin/wappalyzer-validate-regex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wappalyzer-validate-regex b/bin/wappalyzer-validate-regex index 445479aaa..36012c57a 100755 --- a/bin/wappalyzer-validate-regex +++ b/bin/wappalyzer-validate-regex @@ -56,7 +56,7 @@ for ( app in json.apps ) { //Report error if(amountOfCaptureGroups > amountOfCaptureGroupsNeeded) { - throw new Error('The pattern uses more capture groups than needed. Use non-capturing roups where appropriate.\n' + app + ': ' + type + ': ' + pattern); + throw new Error('The pattern uses more capture groups than needed. Use non-capturing groups where appropriate.\n' + app + ': ' + type + ': ' + pattern); }else if(amountOfCaptureGroups < amountOfCaptureGroupsNeeded){ throw new Error('The version string references more capture groups than there are in the pattern! Remove any incorrect back references from the version string and/or add the missing capture groups to the pattern.\n' + app + ': ' + type + ': ' + pattern); } else if(highestBackReference > amountOfCaptureGroups){