re: Added `RegexMatcher`, a dynamic-dispatch-friendly version of the trait providing methods for execution-only: The value returned by `RegexEngine::try_compile_boxed()` can be consumed into `Box<dyn RegexMatcher + ...>` via an `Into::into()` call if dynamic dispatch over the compiled regular-expression is needed in the future. (TODO: There are also extension methods for `&mut self` & `Arc<Self>` in `RegexMatcher` that currently are unused, but may be useful for PCRE `Regex` if used.)
NOTE: The purpose of this is to allow something like: `let compiled_regex: Box<dyn re::RegexMatcher + Send + Sync + "static> = if cli.use_pcre() { re::Regex::try_compile_boxed(cli.regex)?.into() } else { re::NonPCRERegex::try_compile_boxed(cli.regex)[.inspect_mut(|re| re.prepare_regex())]?.into() };`
Fortune for rematch's current commit: Half blessing − 半吉
[For feature `perl`]: Started re-work of `re` to allow dynamic dispatch for user-selection of if PCRE extensions are enabled.
Fortune for rematch's current commit: Half blessing − 半吉