octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows regexp problem


From: Richard Crozier
Subject: Re: Windows regexp problem
Date: Wed, 2 Mar 2016 11:05:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1



On 02/03/16 11:01, Richard Crozier wrote:
I have a user on windows using the 4.0.0 release who is getting an error
like this:

error: regexp: PCRE does not support \L, \l, \N{name}, \U, or \u at
position 4 of expression

The offending regexp is something like:

^C:\Users\ <SNIP> \tb-xfemm_v1_6\mfemm\\.\.\cfemm\libfemm\liblua\lapi\.o$

I've redacted some to protect their privacy, but could provide it off
list if needed. The missing bit is just the rest of the file path.

The error occurs in a file mmake.m (which is an mfile implementation of
a subset of gnu make functionality). If interested you can find it here:

https://github.com/mbauman/mmake

I get no such error on Linux, so I'm wondering if this is a bug, or
known limitation of the underlying regex library on windows, googling
leads me to this:

http://stackoverflow.com/questions/3538293/php-regular-expression-pcre-does-not-support-l-l-n-p


Thanks,

Richard


Actually, after just rereading my own message, this is clearly an issue with my own code, sorry for the noise.

Richard

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]