Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Exactly match the user dict split info id
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorami Hisamoto committed Jun 21, 2021
1 parent 7e5b501 commit f8cefeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sudachipy/dictionarylib/dictionarybuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def parse_splitinfo(self, info):

@staticmethod
def __is_id(text):
return re.match(r'U?\d+', text)
return re.match(r'U?\d+$', text)

def parse_id(self, text):
if text.startswith('U'):
Expand Down

0 comments on commit f8cefeb

Please sign in to comment.