mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-03 13:42:06 -07:00
regex: migrate grep-regex to regex-automata
We just do a "basic" dumb migration. We don't try to improve anything here.
This commit is contained in:
@@ -18,7 +18,6 @@ pub fn non_matching_bytes(expr: &Hir) -> ByteSet {
|
||||
fn remove_matching_bytes(expr: &Hir, set: &mut ByteSet) {
|
||||
match *expr.kind() {
|
||||
HirKind::Empty
|
||||
// | HirKind::Look(Look::Start | Look::End)
|
||||
| HirKind::Look(Look::WordAscii | Look::WordAsciiNegate)
|
||||
| HirKind::Look(Look::WordUnicode | Look::WordUnicodeNegate) => {}
|
||||
HirKind::Look(Look::Start | Look::End) => {
|
||||
|
Reference in New Issue
Block a user