We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1a0fa5 commit 23fea67Copy full SHA for 23fea67
src/tools/compiletest/src/errors.rs
@@ -118,7 +118,7 @@ fn parse_expected(
118
// //[rev1]~
119
// //[rev1,rev2]~^^
120
static RE: Lazy<Regex> =
121
- Lazy::new(|| Regex::new(r"//(?:\[(?P<revs>[\w,]+)])?~(?P<adjust>\||\^*)").unwrap());
+ Lazy::new(|| Regex::new(r"//(?:\[(?P<revs>[\w\-,]+)])?~(?P<adjust>\||\^*)").unwrap());
122
123
let captures = RE.captures(line)?;
124
0 commit comments