[326449] parser error on regular expression containing sequence

Signed-off-by: Jason Peterson <jasonpet@us.ibm.com>
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java
index 678ed29..586f0d9 100644
--- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java
+++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/src/org/eclipse/wst/jsdt/core/tests/compiler/parser/SyntaxErrorTest.java
@@ -346,4 +346,28 @@
 		expectedSyntaxErrorDiagnosis,
 		testName);
 }
+
+public void testRegExpression01() {
+	String s = "searchStr.replace( /([!\"#$%&'()*+,./:;<=>?@[\\]^`{|}~])/g, '//' )";
+	String expectedSyntaxErrorDiagnosis = "";
+	String testName = "<test>";
+	
+	checkParse(
+		s.toCharArray(),
+		expectedSyntaxErrorDiagnosis,
+		testName);
+}
+
+public void testRegExpression02() {
+	String s = "searchStr.replace(/\\n( |\t)*[/][/]/g,'//')";
+	String expectedSyntaxErrorDiagnosis = "";
+	String testName = "<test>";
+	
+	checkParse(
+		s.toCharArray(),
+		expectedSyntaxErrorDiagnosis,
+		testName);
+}
+
+
 }