[R-pkg-devel] perl = TRUE fails on ubuntu

Josiah Parry jo@|@h@p@rry @end|ng |rom gm@||@com
Wed May 28 00:06:56 CEST 2025


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]]



More information about the R-package-devel mailing list