This commit is contained in:
Mylloon 2022-08-17 16:58:49 +02:00
parent 68a64121f4
commit 076ed15d2a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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();