You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "shusaku miyaharas (JIRA)" <ji...@apache.org> on 2018/12/09 09:35:00 UTC

[jira] [Created] (LUCENE-8596) The replacement of comments is a bug, in "UserDictionary.java"

shusaku miyaharas created LUCENE-8596:
-----------------------------------------

             Summary: The replacement of comments is a bug, in "UserDictionary.java"
                 Key: LUCENE-8596
                 URL: https://issues.apache.org/jira/browse/LUCENE-8596
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/analysis
            Reporter: shusaku miyaharas


[https://github.com/apache/lucene-solr/blob/1d85cd783863f75cea133fb9c452302214165a4d/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/dict/UserDictionary.java#L68]

 

hi
I think that this is bug.
I think the following is correct
{code:java}
line = line.replaceAll ("^ #. * $", "");  
{code}
 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org