https://stackoverflow.com/questions/3796436/whats-the-technical-reason-for-lookbehind-assertion-must-be-fixed-length-in-r

On Tue, May 27, 2025, 4:07 PM Josiah Parry <josiah.pa...@gmail.com> wrote:

> Hi all,
>
> I've encountered an issue where using `perl = TRUE` for regular expressions
> with grepl() causes an error on ubuntu CI runners only.
>
> Is this a known limitation of perl = TRUE for grep and family in base R? Or
> is there a suggested workaround?
>
> The issue is specifically with lookbehinds:
>
> PCRE pattern compilation error
> 'lookbehind assertion is not fixed length'
> at '(?<=(FeatureServer|MapServer)/)[0-9]+/?$'
>
> Any guidance would be very much appreciated! I'd like to avoid adding a
> stringi dependency if possible.
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to