Re: Stack Overflow Problmen - reformat regular expression
"Ulla (Ulrike) Schat" <[email protected]> Wed, 11 Feb 2004 13:14:08 +0100
| Newsgroups | gmane.comp.jakarta.oro.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
> I ran your test program with no problems using jakarta-oro 2.0.8 and
> JDK's 1.2, 1.3, and 1.4 for Linux. I then downloaded the 2.0.1
> distribution and tried the same thing with that with the same result.
I just re-tested with 2.0.8. and I also have the same problem with my
original test program.
> What Java runtime are you using and on what OS?
I am using java verson 1.4.2_03 on Windows 2000.
However, rewriting the old expression "{(\\d+):([^}]*)(?!-})"
to what you suggested "{(\\d+):([^}]+)(?!-})" did the trick!
Plus it seems quite fast!
Thanks a lot for your help!
Ulla