fix #5
This commit is contained in:
parent
68a64121f4
commit
076ed15d2a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ struct Args {
|
||||||
async fn main() {
|
async fn main() {
|
||||||
let args = Args::parse();
|
let args = Args::parse();
|
||||||
|
|
||||||
let matches = Regex::new(r"[Ll](?P<year>\d)-?(?P<letter>.)?")
|
let matches = Regex::new(r"[Ll](?P<year>\d)[-–•·]?(?P<letter>.)?")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.captures(&args.class)
|
.captures(&args.class)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Reference in a new issue