Remix.run Logo
CJefferson 18 hours ago

Great! I enjoyed reading through, and I'm going to come back later and read a little more carefully.

If anyone knows (to let me be lazy), is this the same regex engine used by ripgrep? Or is that an independent implementation?

flaghacker 18 hours ago | parent | next [-]

Yes, the `regex` crate is also the regex engine used by ripgrep, both were developed by https://github.com/burntsushi.

shilangyu 13 hours ago | parent | prev | next [-]

As others have pointed out, the regex engine is the same so the benefits would trickle downstream. For example, VSCode also uses ripgrep and therefore the rust-lang/regex engine.

burntsushi 13 hours ago | parent [-]

ripgrep plugged this gap a long time ago by providing PCRE2 support.

shilangyu 5 hours ago | parent [-]

PCRE2 supports only bounded length lookbehinds. It is true, it is not a big improvement to have unbounded ones in rust-lang/regex, but it still feels like something.

cbarrick 18 hours ago | parent | prev [-]

Same engine as ripgrep