forked from Anri/cal8tor
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() {
|
||||
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()
|
||||
.captures(&args.class)
|
||||
.unwrap();
|
||||
|
|
Reference in a new issue