You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -192,10 +192,18 @@ Parameter names must be provided after `:` or `*`, and they must be a valid Java
192
192
193
193
Parameter names can be wrapped in double quote characters, and this error means you forgot to close the quote character.
194
194
195
-
### Unterminated parameter pattern
195
+
### Unbalanced pattern
196
196
197
197
Parameter patterns must be wrapped in parentheses, and this error means you forgot to close the parentheses.
198
198
199
+
### Only '|' is allowed as a special character in patterns
200
+
201
+
When defining a custom pattern for a parameter (e.g., `:id(<pattern>)`), only the pipe character (`|`) is allowed as a special character inside the pattern.
202
+
203
+
### Missing pattern
204
+
205
+
When defining a custom pattern for a parameter (e.g., `:id(<pattern>)`), you must provide a pattern.
206
+
199
207
### Express <= 4.x
200
208
201
209
Path-To-RegExp breaks compatibility with Express <= `4.x` in the following ways:
0 commit comments