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.
1 parent 7ffd92e commit 6f2b8b9Copy full SHA for 6f2b8b9
regex_syntax/src/parser.rs
@@ -1429,6 +1429,15 @@ mod tests {
1429
});
1430
}
1431
1432
+ #[test]
1433
+ fn error_repeat_beginning_counted() {
1434
+ assert_eq!(perr("{5}"), Error {
1435
+ pos: 0,
1436
+ surround: "{5}".into(),
1437
+ kind: ErrorKind::RepeaterExpectsExpr,
1438
+ });
1439
+ }
1440
+
1441
#[test]
1442
fn error_repeat_illegal_exprs_simple() {
1443
assert_eq!(perr("a**"), Error {
0 commit comments