ld be: assertEquals("192.168.0.15public", discardEscapeChar
> ("192.168.0.15public"));
>
> I would also suggest to add the following:
> String s="some.host.name\\dir+:+-!():^[]\{}~*?";
> assertEquals(s,discardEscapeChar(escape(s)));
>
\public"));
I would also suggest to add the following:
String s="some.host.name\\dir+:+-!():^[]\{}~*?";
assertEquals(s,discardEscapeChar(escape(s)));
Eyal
> -Original Message-
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 20, 2005 22:38 PM
>
On Jul 19, 2005, at 11:19 AM, Jeff Davis wrote:
Hi,
I'm seeing some strange behavior in the way the QueryParser handles
consecutive backslash characters. I know that backslash is the escape
character in Lucene, and so I would expect "" to match fields that
have two consecutive backslashes