[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r12027 - trunk

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-11-26 18:25:04 CET

Branko ÄŒibej <brane@xbc.nu> writes:

> Julian Foad wrote:
>
>> Branko ÄŒibej wrote:
>>
>>> brane@mithril:~$ expr '0.9.5' : '0\.9\.[5-9]\|0\.9\.[1-9][0-9]'
>>> 0
>>
>> Thanks. I don't know why that doesn't work as I expect it to and as
>> it works on most systems, but I've reverted that part of the change
>> in r12044.
>
> I tried several variants, but not one with '\|' worked. I don't know
> why, either.

It's an extended RE and the FreeBSD manpage expr(1) states that a
basic RE is to be used, thus '|' is a literal not an operator.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 26 18:26:16 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.