gnu-regexp-users
[Top][All Lists]
Advanced

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

[Regexp] Is it a bug?


From: Sergio
Subject: [Regexp] Is it a bug?
Date: Sat, 18 May 2002 01:36:39 -0300

Hi
Just using Test applet at http://www.cacas.org/java/gnu/regexp/reapplet.html
 pattern= ^1(\s\S+?){1,8}?,1$
 sytax= Perl5
 text= 1 The quick brown fox,1,1
did not match.
I'm sure it is wrong since it matches in Perl 5.6.
Also doesn't match if using pattern= ^1(\s\S+?){1,8},1$.
If it is a bug Is there any workaround to non greedy quantifiers?
TIA.

reply via email to

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