@ 261104.1

261028.3.1 · 23815624819c77ab665e19c8e6c28bddbcd96e1d

refactor: different pattern types

This significantly refactors the code for creating the regexes to match with, and in some cases avoids using regex altogether.

We now have differnt types of patterns that we match with.

One impact of this is that we now use GlobSet to match directly, which should fix #2067 and allow globs to work correctly in windows with --full-path.

reading declarations

Changes to Cargo.toml. All files

Cargo.toml

@@ -38,7 +38,7 @@ ignore = "0.4.28" regex = "1.12.2" regex-syntax = "0.8" ctrlc = "3.5"-globset = "0.4"+globset = "0.4.19" anyhow = "1.0" etcetera = "0.11" normpath = "1.5.1"@@ -46,6 +46,7 @@ crossbeam-channel = "0.5.15" clap_complete = {version = "4.6.5", optional = true} faccess = "0.2.4" jiff = "0.2.27"+memchr = "2.8.0"  [dependencies.clap] version = "4.6.1"