Regex includes the alphanum

This commit is contained in:
Dandaedre 2026-07-27 02:59:05 +02:00
parent a449407ab4
commit 05092c354f
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ resolver = "3"
# edition = "2024"
# license = "MIT OR Apache-2.0"
[workspace.package]
version = "0.3.21"
version = "0.3.22"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -229,7 +229,7 @@ pub(super) enum LineType {
// #[regex(r"[\) ]*\(\./[A-z/]+\.tex", |lex| lex.slice().split("(").nth(1).unwrap_or("").to_string())]
// #[regex(r"[\) ]*(\[[0-9]+\] )?\(\./[A-z/-_]+\.tex", |lex| lex.slice().split("(").nth(1).unwrap_or("").to_string())]
// #[regex(r"[\) 0-9\[\]]*\(\./[A-z/-_]+\.tex", |lex| lex.slice().split("(").nth(1).unwrap_or("").to_string())]
#[regex(r"\(\./[A-z/_-]+\.(gls|tex)", |lex| lex.slice().split("(").nth(1).unwrap_or("").to_string())]
#[regex(r"\(\./[A-z/0-9_-]+\.(gls|tex)", |lex| lex.slice().split("(").nth(1).unwrap_or("").to_string())]
EnteringDocument(String),
/// Info on the loading of a library

@ -1 +1 @@
Subproject commit 2eb936d1b8b2f2fc897141b1d353692d1bc82476
Subproject commit 6b764e823b4b2d1cff73665c23ae05392063689b