[ 
https://issues.apache.org/jira/browse/LUCENE-5777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-5777:
--------------------------------

    Attachment: LUCENE-5777.patch

Simple patch with a test.

I also ran TestAllDictionaries/TestAllDictionaries2 (all thunderbird and 
openoffice respectively).

> double escaping of dash in hunspell conditions
> ----------------------------------------------
>
>                 Key: LUCENE-5777
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5777
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5777.patch
>
>
> This bug was previously masked by LUCENE-5768.
> Basically '-' doesnt mean anything special (e.g. what it normally means for a 
> regex), so we usually have to escape it. but some dictionaries like pt_PT 
> already escape it, so now that our parsing works correctly, we are undoing 
> that and creating a bad condition.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to