Displaying 2 results from an estimated 2 matches for "nhgrimelanomaclass".
2015 Jan 07
2
gsub with perl=TRUE results in 'this version of PCRE is not compiled with Unicode property support' in R-devel
The following code:
res <- gsub("(*UCP)\\b(i)\\b",
"", "nhgrimelanomaclass", perl = TRUE)
results in:
Error in gsub(sprintf("(*UCP)\\b(%s)\\b", "i"), "", "nhgrimelanomaclass", :
invalid regular expression '(*UCP)\b(i)\b'
In addition: Warning message:
In gsub(sprintf("(*UCP)\\b(%s)\\b", "i"), &q...
2015 Jan 08
0
gsub with perl=TRUE results in 'this version of PCRE is not compiled with Unicode property support' in R-devel
...be supported via
?\p{xx}? and ?\P{xx}? which match characters with and without
property ?xx? respectively.
Note the 'may'.
On 07/01/2015 23:25, Dan Tenenbaum wrote:
> The following code:
>
> res <- gsub("(*UCP)\\b(i)\\b",
> "", "nhgrimelanomaclass", perl = TRUE)
>
> results in:
>
> Error in gsub(sprintf("(*UCP)\\b(%s)\\b", "i"), "", "nhgrimelanomaclass", :
> invalid regular expression '(*UCP)\b(i)\b'
> In addition: Warning message:
> In gsub(sprintf("(*UCP)\\b...