diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json
index c10af0def1..82a0430852 100644
--- a/seed/challenges/basic-javascript.json
+++ b/seed/challenges/basic-javascript.json
@@ -1039,7 +1039,7 @@
],
"tests":[
"assert(test === 2, 'message: Your RegEx should have found two numbers in the testString
.');",
- "assert(editor.getValue().match(/\\/\\\\d\\+\\//gi), 'message: You should be using the following expression /\\\\d+/gi
to find the numbers in the testString
.');"
+ "assert(editor.getValue().match(/\\/\\\\d\\+\\//g), 'message: You should be using the following expression /\\d+/g
to find the numbers in the testString
.');"
],
"challengeSeed":[
"var test = (function() {",
@@ -1047,7 +1047,7 @@
"",
" // Only change code below this line.",
"",
- " var expression = /.+/gi;",
+ " var expression = /.+/g;",
"",
" // Only change code above this line.",
" // We use this function to show you the value of your variable in your output box.",
@@ -1069,7 +1069,7 @@
],
"tests":[
"assert(test === 7, 'message: Your RegEx should have found seven spaces in the testString
.');",
- "assert(editor.getValue().match(/\\/\\\\s\\+\\//gi), 'message: You should be using the following expression /\\\\s+/gi
to find the spaces in the testString
.');"
+ "assert(editor.getValue().match(/\\/\\\\s\\+\\//g), 'message: You should be using the following expression /\\s+/g
to find the spaces in the testString
.');"
],
"challengeSeed":[
"var test = (function(){",
@@ -1077,7 +1077,7 @@
"",
" // Only change code below this line.",
"",
- " var expression = /.+/gi;",
+ " var expression = /.+/g;",
"",
" // Only change code above this line.",
" // We use this function to show you the value of your variable in your output box.",
@@ -1092,12 +1092,12 @@
"title": "Invert Regular Expression Matches with JavaScript",
"difficulty":"9.987",
"description":[
- "Use /\\S/gi
to match everything that isn't a space in the string.",
+ "Use /\\S/g
to match everything that isn't a space in the string.",
"You can invert any match by using the uppercase version of the selector \\s
versus \\S
for example."
],
"tests":[
"assert(test === 49, 'message: Your RegEx should have found forty nine non-space characters in the testString
.');",
- "assert(editor.getValue().match(/\\/\\\\S\\/gi/gi), 'message: You should be using the following expression /\\\\S/gi
to find non-space characters in the testString
.');"
+ "assert(editor.getValue().match(/\\/\\\\S\\/g/g), 'message: You should be using the following expression /\\S/g
to find non-space characters in the testString
.');"
],
"challengeSeed":[
"var test = (function(){",
@@ -1105,7 +1105,7 @@
"",
" // Only change code below this line.",
"",
- " var expression = /./gi;",
+ " var expression = /./g;",
"",
" // Only change code above this line.",
" // We use this function to show you the value of your variable in your output box.",