Development quotes of the week - regular expression edition
Development quotes of the week - regular expression edition
Posted Feb 21, 2022 8:54 UTC (Mon) by tlamp (subscriber, #108540)In reply to: Development quotes of the week - regular expression edition by flussence
Parent article: Development quotes of the week - regular expression edition
ripgrep doesn't use libpcre, but the native rust regex crate[0] which is inspired by Google's re2 and has similar pro/cons that NYKevin mentioned above w.r.t. re2.
Maybe it could be worth opening an issue at ripgrep regarding this behavior, but IMO it's a bit odd to use grep/rg/ag/... for this, awk (and derivates, like frawk[1]) sounds like it could be a better option. I use awk quite successfully for searching nginx access logs for unusual patterns.
[0]: https://github.com/rust-lang/regex
[1]: https://github.com/ezrosent/frawk
