octave-maintainers
[Top][All Lists]
Advanced

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

Re: regexprep with 'emptymatch' option


From: Rik
Subject: Re: regexprep with 'emptymatch' option
Date: Mon, 11 Jun 2012 10:37:43 -0700

On 06/11/2012 10:00 AM, address@hidden wrote:
> Message: 3
> Date: Mon, 11 Jun 2012 09:11:01 +0200
> From: "c." <address@hidden>
> To: address@hidden
> Subject: regexprep with 'emptymatch' option
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Building the default branch on OSX I get a test failure in regexprep.
> The failing test is the following:
>
> regexprep ('World!', '^', 'Hello ', 'emptymatch')
>
> should return  'Hello world!' but I get 'Hello orld!' instead.
> I am linking against a self-built pcre version 8.30.
> Is anyone else experiencing this problem? 
> Does anyone have suggestions how to fix it?
6/11/12

Carlo,

That is odd.  I was the one who added that feature, but I did my testing on
a different platform: Linux Kubuntu 10.04 with PCRE 7.8.

--Rik


reply via email to

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