Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#62979 - [ripgrep] no support for look-ahead/look-behind: build with --pcre2
Attached to Project:
Arch Linux
Opened by Daniel Hahler (blueyed) - Saturday, 22 June 2019, 20:30 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 23 June 2019, 03:59 GMT
Opened by Daniel Hahler (blueyed) - Saturday, 22 June 2019, 20:30 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 23 June 2019, 03:59 GMT
|
Detailsripgrep has no support for look-ahead/look-behind:
% rg '(?!LUA)_LIBDIR' regex parse error: (?!LUA)_LIBDIR ^^^ error: look-around, including look-ahead and look-behind, is not supported Consider enabling PCRE2 with the --pcre2 flag, which can handle backreferences and look-around. It would be nice if this would be enabled via `--pcre2`. |
This task depends upon
[1] https://github.com/BurntSushi/ripgrep/blob/973de50c9ef451da2cfcdfa86f2b2711d8d6ff48/src/app.rs#L16
Thanks!