You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-user@jakarta.apache.org by Nino Walker <ni...@xtime.com> on 2001/07/05 23:28:13 UTC

"\d{0,4}" doesn't work?

Hi,

I think I came across a bug in the implementation, where zero is not
accepted w/ the {n,m} syntax:

For example:
"a" does not match "^\w\d{0,4}$", while "a3" does.

Should this be reported as a bug?

Thanks,

Nino


Re: "\d{0,4}" doesn't work?

Posted by Jon Stevens <jo...@latchkey.com>.
on 7/6/01 1:31 AM, "Edward Q. Bridges" <eb...@argotec.de> wrote:

> since when is that a requirement???

Since day one.

In case you missed it, this is a volunteer community. You can't force people
to fix bugs.

-jon


Re: "\d{0,4}" doesn't work?

Posted by "Edward Q. Bridges" <eb...@argotec.de>.
since when is that a requirement???




On Thu, 05 Jul 2001 14:32:41 -0700, Jon Stevens wrote:

>on 7/5/01 2:28 PM, "Nino Walker" <ni...@xtime.com> wrote:
>
>> Should this be reported as a bug?
>> 
>> Thanks,
>> 
>> Nino
>
>Not unless you also submit a patch to fix the bug. :-)
>
>-jon
>

--------------------------------------------
<argo_tec gmbh>
     ed.q.bridges
     tel. 089-368179.552
     fax 089-368179.79
     osterwaldstraße 10 
     (haus F eingang 21)
     80805 münchen
</argo_tec gmbh>
--------------------------------------------  



Re: "\d{0,4}" doesn't work?

Posted by Jon Stevens <jo...@latchkey.com>.
on 7/5/01 2:28 PM, "Nino Walker" <ni...@xtime.com> wrote:

> Should this be reported as a bug?
> 
> Thanks,
> 
> Nino

Not unless you also submit a patch to fix the bug. :-)

-jon