Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nyanlynnhtut committed May 15, 2020
1 parent 49d6070 commit 33dee18
Show file tree
Hide file tree
Showing 31 changed files with 104 additions and 74 deletions.
2 changes: 1 addition & 1 deletion Packages/Elixir
Submodule Elixir updated 1 files
+2 −2 lib/rabbit.ex
2 changes: 1 addition & 1 deletion Packages/Node
Submodule Node updated 1 files
+14 −14 lib/rabbit.js
2 changes: 1 addition & 1 deletion Packages/Objc
Submodule Objc updated 1 files
+2 −2 Classes/Rabbit.m
2 changes: 1 addition & 1 deletion Packages/PHP
Submodule PHP updated 1 files
+2 −2 src/Rabbit.php
2 changes: 1 addition & 1 deletion Packages/Swift
Submodule Swift updated 1 files
+2 −2 Classes/Rabbit.swift
2 changes: 1 addition & 1 deletion Packages/ruby
Submodule ruby updated 1 files
+2 −2 lib/rabbit.rb
4 changes: 2 additions & 2 deletions other-lang/csharp/Rabbit.cs

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions other-lang/dart/rabbit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class Rabbit {
"to": "\u1097"
},
{
"from": "([\u1000-\u1021\u108f\u1029\u106e\u106f\u1086\u1090\u1091\u1092\u1097])([\u1060-\u1069\u106c\u106d\u1070-\u107c\u1085\u108a])?([\u103b-\u103e]*)?\u1031",
"from": "([\u1000-\u1021\u108f\u1029\u106a\u106e\u106f\u1086\u1090\u1091\u1092\u1097\u1096])([\u1060-\u1069\u106c\u106d\u1070-\u107c\u1085\u108a])?([\u103b-\u103e]*)?\u1031",
"to": "\u1031#1#2#3"
},
{
Expand Down Expand Up @@ -306,6 +306,10 @@ class Rabbit {
"from": "\u108F\u1071",
"to" : "\u108F\u1072"
},
{
"from": "\u108F\u1073",
"to" : "\u108F\u1074"
},
{
"from": "([\u1000-\u1021])([\u107B\u1066])\u102C",
"to": "#1\u102C#2"
Expand Down Expand Up @@ -494,7 +498,7 @@ class Rabbit {
"to": "\u1064\u103B"
},
{
"from": "\u103c([\u1000-\u1021])(\u1064|\u108b)",
"from": "\u103c([\u1000-\u1021])([\u1064\u108b\u108d])",
"to": "#1\u103c#2"
},
{
Expand All @@ -510,7 +514,7 @@ class Rabbit {
"to": "\u1004\u103a\u1039#1#2#3\u102e"
},
{
"from": "(\u1031)?([\u1000-\u1021])(\u103b)?\u108d",
"from": "(\u1031)?([\u1000-\u1021])([\u103b\u103c])?\u108d",
"to": "\u1004\u103a\u1039#1#2#3\u1036"
},
{
Expand Down Expand Up @@ -718,7 +722,7 @@ class Rabbit {
"to": "#1\u103b\u103d\u1031"
},
{
"from": "([\u1000-\u1021])\u1031(\u1039[\u1000-\u1021])",
"from": "([\u1000-\u1021])\u1031(\u1039[\u1000-\u1021]\u103d?)",
"to": "#1#2\u1031"
},
{
Expand Down
4 changes: 2 additions & 2 deletions other-lang/elixir/Rabbit.ex

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions other-lang/go/rabbit.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func Uni2zg(str string) string {
"to": "\u1097"
},
{
"from": "([\u1000-\u1021\u108f\u1029\u106e\u106f\u1086\u1090\u1091\u1092\u1097])([\u1060-\u1069\u106c\u106d\u1070-\u107c\u1085\u108a])?([\u103b-\u103e]*)?\u1031",
"from": "([\u1000-\u1021\u108f\u1029\u106a\u106e\u106f\u1086\u1090\u1091\u1092\u1097\u1096])([\u1060-\u1069\u106c\u106d\u1070-\u107c\u1085\u108a])?([\u103b-\u103e]*)?\u1031",
"to": "\u1031$1$2$3"
},
{
Expand Down Expand Up @@ -316,6 +316,10 @@ func Uni2zg(str string) string {
"from": "\u108F\u1071",
"to" : "\u108F\u1072"
},
{
"from": "\u108F\u1073",
"to" : "\u108F\u1074"
},
{
"from": "([\u1000-\u1021])([\u107B\u1066])\u102C",
"to": "$1\u102C$2"
Expand Down Expand Up @@ -505,7 +509,7 @@ func Zg2uni(str string) string {
"to": "\u1064\u103B"
},
{
"from": "\u103c([\u1000-\u1021])(\u1064|\u108b)",
"from": "\u103c([\u1000-\u1021])([\u1064\u108b\u108d])",
"to": "$1\u103c$2"
},
{
Expand All @@ -521,7 +525,7 @@ func Zg2uni(str string) string {
"to": "\u1004\u103a\u1039$1$2$3\u102e"
},
{
"from": "(\u1031)?([\u1000-\u1021])(\u103b)?\u108d",
"from": "(\u1031)?([\u1000-\u1021])([\u103b\u103c])?\u108d",
"to": "\u1004\u103a\u1039$1$2$3\u1036"
},
{
Expand Down Expand Up @@ -729,7 +733,7 @@ func Zg2uni(str string) string {
"to": "$1\u103b\u103d\u1031"
},
{
"from": "([\u1000-\u1021])\u1031(\u1039[\u1000-\u1021])",
"from": "([\u1000-\u1021])\u1031(\u1039[\u1000-\u1021]\u103d?)",
"to": "$1$2\u1031"
},
{
Expand Down
4 changes: 2 additions & 2 deletions other-lang/java/com/comquas/rabbit/Rabbit.java

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions other-lang/javascript/rabbit.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function uni2zg(output) {
"to": "\u1097"
},
{
"from": "([\u1000-\u1021\u108f\u1029\u106e\u106f\u1086\u1090\u1091\u1092\u1097])([\u1060-\u1069\u106c\u106d\u1070-\u107c\u1085\u108a])?([\u103b-\u103e]*)?\u1031",
"from": "([\u1000-\u1021\u108f\u1029\u106a\u106e\u106f\u1086\u1090\u1091\u1092\u1097\u1096])([\u1060-\u1069\u106c\u106d\u1070-\u107c\u1085\u108a])?([\u103b-\u103e]*)?\u1031",
"to": "\u1031$1$2$3"
},
{
Expand Down Expand Up @@ -309,6 +309,10 @@ function uni2zg(output) {
"from": "\u108F\u1071",
"to" : "\u108F\u1072"
},
{
"from": "\u108F\u1073",
"to" : "\u108F\u1074"
},
{
"from": "([\u1000-\u1021])([\u107B\u1066])\u102C",
"to": "$1\u102C$2"
Expand Down Expand Up @@ -497,7 +501,7 @@ function zg2uni(output) {
"to": "\u1064\u103B"
},
{
"from": "\u103c([\u1000-\u1021])(\u1064|\u108b)",
"from": "\u103c([\u1000-\u1021])([\u1064\u108b\u108d])",
"to": "$1\u103c$2"
},
{
Expand All @@ -513,7 +517,7 @@ function zg2uni(output) {
"to": "\u1004\u103a\u1039$1$2$3\u102e"
},
{
"from": "(\u1031)?([\u1000-\u1021])(\u103b)?\u108d",
"from": "(\u1031)?([\u1000-\u1021])([\u103b\u103c])?\u108d",
"to": "\u1004\u103a\u1039$1$2$3\u1036"
},
{
Expand Down Expand Up @@ -721,7 +725,7 @@ function zg2uni(output) {
"to": "$1\u103b\u103d\u1031"
},
{
"from": "([\u1000-\u1021])\u1031(\u1039[\u1000-\u1021])",
"from": "([\u1000-\u1021])\u1031(\u1039[\u1000-\u1021]\u103d?)",
"to": "$1$2\u1031"
},
{
Expand Down
9 changes: 5 additions & 4 deletions other-lang/kotlin/Rabbit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ object Rabbit {
"ရ(?=([ိီ]?)[ုူွႊ])" to "",
"ဏ္ဍ" to "",
"ဋ္ဋ" to "",
"([က-အႏဩၮၯႆ႐႑႒႗])([ၠ-ၩၬၭၰ-ၼႅႊ])?([ျ-ှ]*)?ေ" to "ေ$1$2$3",
"([က-အႏဩၪၮၯႆ႐႑႒႗႖])([ၠ-ၩၬၭၰ-ၼႅႊ])?([ျ-ှ]*)?ေ" to "ေ$1$2$3",
"ြှ" to "ြႇ",
"([က-အႏဩ])([ၠ-ၩၬၭၰ-ၼႅ])?(ြ)" to "$3$1$2",
"" to "",
Expand Down Expand Up @@ -77,6 +77,7 @@ object Rabbit {
"်([ြႊ])" to "$1ၽ",
"([ဳဴ])(ံ?)႔" to "$1$2႕",
"ႏၱ" to "ႏၲ",
"ႏၳ" to "ႏၴ",
"([က-အ])([ၻၦ])ာ" to "$1ာ$2",
"ာ([ၻၦ])့" to "ာ$1႔",
"၇((?=[က-အ]္)|(?=[ာ-ူဲံ-းြွ]))" to ""
Expand Down Expand Up @@ -125,11 +126,11 @@ object Rabbit {
"" to "ှူ",
"" to "ွှ",
"ျၤ" to "ၤျ",
"ြ([က-အ])(ၤ|ႋ)" to "$1ြ$2",
"ြ([က-အ])([ၤႋႍ])" to "$1ြ$2",
"(ေ)?([က-အ၀-၉])(ြ)?ၤ" to "င်္$1$2$3",
"(ေ)?([က-အ])(ျ|ြ)?ႋ" to "င်္$1$2$3ိ",
"(ေ)?([က-အ])(ျ)?ႌ" to "င်္$1$2$3ီ",
"(ေ)?([က-အ])()?ႍ" to "င်္$1$2$3ံ",
"(ေ)?([က-အ])([ျြ])?ႍ" to "င်္$1$2$3ံ",
"" to "ိံ",
"" to "",
"" to "",
Expand Down Expand Up @@ -181,7 +182,7 @@ object Rabbit {
"([က-အ])ြေွ" to "$1ြွေ",
"([က-အ])ျေွ(ှ)?" to "$1ျွ$2ေ",
"([က-အ])ွေျ" to "$1ျွေ",
"([က-အ])ေ(္[က-အ])" to "$1$2ေ",
"([က-အ])ေ(္[က-အ]ွ?)" to "$1$2ေ",
"း်" to "်း",
"ိ်|်ိ" to "",
"ို်" to "ို",
Expand Down
4 changes: 2 additions & 2 deletions other-lang/objective-c/Rabbit.m

Large diffs are not rendered by default.

Loading

0 comments on commit 33dee18

Please sign in to comment.