1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-31 07:04:04 +00:00

Use regex for matcher parsing

- Somewhat better maintainability I think
This commit is contained in:
cyqsimon
2023-11-02 23:16:04 +08:00
parent 0fea82cff9
commit 9f7d70f642
2 changed files with 40 additions and 65 deletions

View File

@@ -102,6 +102,8 @@ nix = { version = "0.26.4", default-features = false, features = ["term"] }
anyhow = "1.0.75"
indexmap = { version = "2.1.0", features = ["serde"] }
itertools = "0.11.0"
once_cell = "1.18"
regex = "1.10.2"
serde = { version = "1.0", features = ["derive"] }
serde_with = "3.4.0"
toml = { version = "0.8.6", features = ["preserve_order"] }