You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Sergey Zaharov <se...@gmail.com> on 2017/06/14 08:21:52 UTC

Parsing of some characters

Hi all,

could you please help me with next issue: i have a problem with parsing
strings with some special characters. Example on the screenshot, Also error
comes when i parse string like "!!22", but in the same time string "!22"
parsed normally.
[image: Встроенное изображение 1]

So question is how can i parse ALL possible strings that comes from user?
may be i need another parser? Otherwise should i clear query string from
some characters/combinations and if yes, then where can i take that list?
Probably, it exists some utils that could help normalize query string.

Thanks you in advance.


-- 
Best regards, Sergey.

Re: Parsing of some characters

Posted by Matt Diehl <md...@lexprompt.com.INVALID>.
Remind me what parser/analyzer you are using currently?
Strangely the screenshot didn't make it to my gmail, so I don't know what
you were showing.

On Wed, Jun 14, 2017 at 2:21 AM, Sergey Zaharov <se...@gmail.com>
wrote:

> Hi all,
>
> could you please help me with next issue: i have a problem with parsing
> strings with some special characters. Example on the screenshot, Also error
> comes when i parse string like "!!22", but in the same time string "!22"
> parsed normally.
> [image: Встроенное изображение 1]
>
> So question is how can i parse ALL possible strings that comes from user?
> may be i need another parser? Otherwise should i clear query string from
> some characters/combinations and if yes, then where can i take that list?
> Probably, it exists some utils that could help normalize query string.
>
> Thanks you in advance.
>
>
> --
> Best regards, Sergey.
>