Skip to content

Commit

Permalink
Merge pull request #24 from placeTW/reacttw
Browse files Browse the repository at this point in the history
Lithuanian nasal regex
  • Loading branch information
chanomkaimuk authored Aug 11, 2023
2 parents 19813c6 + 5708128 commit 7276811
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions commands/react_baltics/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"Taivanietis",
"Taivanietė",
"Taivaniečiai",
"Taivaniečių",
r"Taivanieči(?:ų|u)",
"Taivaniečiui",
"Taivaniečiams",
"Taivanietiškas",
Expand All @@ -24,4 +24,6 @@
)


BALTIC_REGEX = compile(rf"({'|'.join(KEYWORDS)})", flags=IGNORECASE | UNICODE)
BALTIC_REGEX = compile(
rf"(?:{'|'.join(KEYWORDS)})", flags=IGNORECASE | UNICODE
)
2 changes: 1 addition & 1 deletion commands/reacttw/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@
)


TW_REGEX = compile(rf"({'|'.join(KEYWORDS)})", flags=IGNORECASE | UNICODE)
TW_REGEX = compile(rf"(?:{'|'.join(KEYWORDS)})", flags=IGNORECASE | UNICODE)

0 comments on commit 7276811

Please sign in to comment.