relay
relay copied to clipboard
Unify glob utilities
Relay currently has three separate utility classes for glob matching:
| module | translation to regex | regex caching | capturing | configurable | multiple | builder | mode |
|---|---|---|---|---|---|---|---|
relay_common::glob |
globset | global | x | binary | |||
relay_common::glob2 |
manual | local (with LazyGlob) |
x | utf8 | |||
relay_common::glob3 |
globset | local | x | x | utf8 |
Attempt to unify these.
globis only used forlibrelaywhich has been fully moved into the ffi crate.glob3is fully replaced withrelay-pattern.glob2still needs work to implement separator matching.