You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rga '(?=.*biotic interaction)(?=.*plant)' 'Diversity and Distributions - 2008 - Catford - Reducing redundancy in invasion ecology by integrating hypotheses into a.pdf' --auto-hybrid-regex
Faulty output:
Diversity and Distributions - 2008 - Catford - Reducing redundancy in invasion ecology by integrating hypotheses into a.pdf: preprocessor command failed: '"/home/aj/.cargo/bin/rga-preproc" "Diversity and Distributions - 2008 - Catford - Reducing redundancy in invasion ecology by integrating hypotheses into a.pdf"': PCRE2: error matching: bad offset into UTF string
With --pcre2:
rga '(?=.*biotic interaction)(?=.*plant)' 'Diversity and Distributions - 2008 - Catford - Reducing redundancy in invasion ecology by integrating hypotheses into a.pdf' --pcre2
Correct output:
Page 18: Vázquez, D.P. (2006) Biotic interactions and plant invasions.
The text was updated successfully, but these errors were encountered:
--auto-hybrid-regex
should produce the same output as--pcre2
if one passes in a PCRE2 pattern. However, it throws an error on some files.I've included the following examples and files.
With
--auto-hybrid-regex
:Faulty output:
With
--pcre2
:Correct output:
The text was updated successfully, but these errors were encountered: