Last active
November 19, 2018 05:08
-
-
Save elsifaka/9f7786f15433cdde71ee to your computer and use it in GitHub Desktop.
Malagasy words regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$_ = m/\b | |
(ah|an|ar|eh|e|i|oh|ô|ao|ae|a|à|eo|e|ia|ie|io|oa|oe|o|'|((ai|ae|ao|a|à|ei|eo|e|ia|iai|ie|io|i|oa|oe|oi|o|')?((b|dr|d|f|g|h|j|k|l|mb|mp|m|ndr|ntr|nts|nd|nj|ng|nk|nt|n|p|r|s|tr|ts|t|v|z)(ai|ae|ao|a|à|ei|eo|e|ia|iai|ie|io|i|oa|oe|oi|o|'))*)(b|dr|d|f|g|h|j|k|l|mb|mp|m|ndr|ntr|nts|nd|nj|ng|nk|nt|n|p|r|s|tr|ts|t|v|z)(((ao|ae|a|à|eo|e|ia|ie|io|oa|oe|o|')-?)|-|'|oy|iay|ey|ay|y|i-))\b/x; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment