[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [OT] bugs in JDK regex engine ?
- From: Rick Jelliffe <rjelliffe@allette.com.au>
- To: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Wed, 23 Jul 2008 04:58:38 +1000
Mukul Gandhi wrote:
> Some of you might be remembering, that I posted an experimental XML
> well-formedness checker few days back.
>
> I had been trying to enhance it since last few days, mainly using the
> JDK 1.6.0 regex facilities.
>
> But few of the things documented in the JDK 1.6.0 regex documentation
> don't work as defined.
>
> Has anybody who has done serious regex programming with JDK 1.6.0
> encountered some bugs?
>
> If somebody can help me with JDK regex's, I can post few examples
> which don't work for me ...
>
In the past I have found that the Java regexes were sometimes erratic
for well-formedness checking, but it depends on how complex you want to
go. With large documents or large regexes of certain kinds, they
sometimes seemed to have some explosion: stack overflow, slowdown, or
whatever.
Cheers
Rick Jelliffe
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]