We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a868b9d + fd86baa commit 18c8b89Copy full SHA for 18c8b89
docs/labs/regex0.js
@@ -30,6 +30,13 @@ info =
30
[ "C" ],
31
],
32
},
33
+ {
34
+ present: String.raw`\(`,
35
+ text: "Parentheses are not necessary or clarifying in this regex. Prefer simpler regex expressions.",
36
+ examples: [
37
+ [ "(cat)" ],
38
+ ],
39
+ },
40
{
41
absent: "c",
42
text: "If you are searching for \"cat\" you need to look for a \"c\"",
@@ -93,6 +100,14 @@ info =
93
100
[ null, "A+B" ],
94
101
95
102
103
104
105
+ index: 1,
106
107
108
+ [ null, "(A+B+)" ],
109
110
96
111
97
112
expected: [
98
113
'cat',
0 commit comments