Skip to content

Commit

Permalink
[hu_Hung] fix closing parenthesis for LibreOffice integration
Browse files Browse the repository at this point in the history
Use [\]] instead of []] to get working regex.
  • Loading branch information
laszlonemeth committed Nov 14, 2022
1 parent ee27941 commit 32215cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/hu_Hung.sor
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
# Transliterate numbers and words

# parentheses
"([\(\[\{])(.*)([]\)\}]) 0$" \1$2\3
"([\(\[\{])(.*) 0$" \1$2
"(.*)([]\)\}]) 0$" $1\2
"(.*)([\]\)\}]) 0$" $1\2
# convert words with traditional or foreign "i" written as "y"
# e.g. Áprily, Champs-Élysées, Élysée-palota, Dolly, Folly, Hollywood, jolly, intercity, Kisfaludy ...
"^(Áp​?ri​?l|Champs-Él|[cC]i​?t|Do​?lák-Sa​?l|[dfhjDFHJ]ol​?l|Él|Fesz​?t|[gG]rizz​?l|Ha​?rasz​?t|Hat​?va​?n|Husz​?t|[iI]n​?ter​?ci​?t|Jé​?ke​?l|Kis​?fa​?lu​?d|Ku​?ko​?r​?el​?l|Mo​?ho​?l|Mind​?szen​?t|Nosz​?t|[pP]en​n|Pes​?t|Re​?gu​?l|So​?n|Szi​?l|Szte​?va​?no​?vi​?t|Vö​?rös​?mar​?t|[zZ][lł]ot)y(.*) 0$" $1𐳐$2
Expand Down

0 comments on commit 32215cd

Please sign in to comment.