Tiago Silveira wrote:

IMHO, using "cat cat?" or even "cat cat? cat??" is so simple that it doesn't
justify keeping the old, undocumented, arguably incorrect behavior.
I don't think there's any question of the old behaviour being incorrect -- the javadoc says that ? matches a single character, not zero or one characters, a single character.

On the other hand, does Erik's new RegexQuery support "cat.?" (the ".?" does match zero or one characters)? (Where's the javadoc for that? I don't see any comments in the source, let alone anything else :-))

jch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to