diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-04-29 17:03:51 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-04-29 17:03:51 +0200 |
commit | dfee84640f6d3c04be41d7789671153743a6764f (patch) | |
tree | b6af3fe151e8a416f407c76330dbdcd73a9c2b2a /src/regex/RegexTest.java | |
parent | 61171c2ccb7048da0223895c231541f1939d93cb (diff) | |
download | RegexTest-dfee84640f6d3c04be41d7789671153743a6764f.tar.gz |
Fix typo in comment
Diffstat (limited to 'src/regex/RegexTest.java')
-rw-r--r-- | src/regex/RegexTest.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/regex/RegexTest.java b/src/regex/RegexTest.java index 20a80e6..857f61d 100644 --- a/src/regex/RegexTest.java +++ b/src/regex/RegexTest.java @@ -103,10 +103,11 @@ public class RegexTest { } static void checkString() { - // String ::= (UnescapedChar | "\" EscapedChar)* - // UnescapedChar ::= Char - ["] = "\" - // (* All Unicode chars but quote and backslash *) - // EscapedChar ::= ["] | "\" + /* String ::= (UnescapedChar | "\" EscapedChar)* + * UnescapedChar ::= Char - ["] - "\" + * (* All Unicode chars but quote and backslash *) + * EscapedChar ::= ["] | "\" + */ RegexTest reString = new RegexTest("([^\\\"\\\\]|\\\\[\\\"\\\\])*"); reString.assertOk(""); reString.assertOk("abc"); |