From 3ece63f0448a8236e71147db33b1e9617de31f3a Mon Sep 17 00:00:00 2001 From: grets311 Date: Fri, 29 Mar 2019 04:55:24 -0400 Subject: [PATCH] Update solution to meet exercise criteria (#34583) The exercise requires a match at greater than 5 characters however the solution has a match occurring at a minimum of 5. Request to update 5 to a 6. --- .../positive-and-negative-lookahead/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/positive-and-negative-lookahead/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/positive-and-negative-lookahead/index.md index 4756d42f30..1f56c7d3d2 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/positive-and-negative-lookahead/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/positive-and-negative-lookahead/index.md @@ -11,6 +11,6 @@ title: Positive and Negative Lookahead ```javascript let sampleWord = "astronaut"; -let pwRegex = /(?=\w{5,})(?=\D*\d{2})/; +let pwRegex = /(?=\w{6,})(?=\D*\d{2})/; let result = pwRegex.test(sampleWord); ```