diff --git a/curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-bubble-sort.english.md b/curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-bubble-sort.english.md index 729bfd78a4..67ddd3b124 100644 --- a/curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-bubble-sort.english.md +++ b/curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-bubble-sort.english.md @@ -32,7 +32,7 @@ tests: - text: bubbleSort should return an array that is unchanged except for order. testString: assert.sameMembers(bubbleSort([1,4,2,8,345,123,43,32,5643,63,123,43,2,55,1,234,92]), [1,4,2,8,345,123,43,32,5643,63,123,43,2,55,1,234,92]); - text: bubbleSort should not use the built-in .sort() method. - testString: assert(!code.match(/\.?[\s\S]*?sort/)); + testString: assert(!code.match(/\.\s*sort\s*\(/)); ```