diff --git a/src/atom/parsers.rs b/src/atom/parsers.rs index df0890f..0d29d2c 100644 --- a/src/atom/parsers.rs +++ b/src/atom/parsers.rs @@ -240,7 +240,7 @@ impl<'a> Parseable<'a, &'a str> for Repo { fn parser() -> Self::Parser { let start = ascii_alphanumeric().or(one_of("_".chars())); let rest = ascii_alphanumeric() - .or(one_of("+_-".chars())) + .or(one_of("_-".chars())) .repeated() .many(); @@ -579,6 +579,7 @@ mod test { ">=dev-libs/libgee-0-8.5:0..8=", "=kde-frameworks/kcrash-2.16.0:6*", + "0-f/merreka+m::k+", ]; for atom in atoms {