Skip to content

Commit

Permalink
fixed #94. Thank @pndaza
Browse files Browse the repository at this point in the history
  • Loading branch information
saturngod committed Oct 1, 2019
1 parent c76e13e commit 492d3dc
Show file tree
Hide file tree
Showing 34 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion Packages/Elixir
Submodule Elixir updated 1 files
+1 −1 lib/rabbit.ex
2 changes: 1 addition & 1 deletion Packages/Go
Submodule Go updated 1 files
+15 −7 rabbit.go
2 changes: 1 addition & 1 deletion Packages/Node
Submodule Node updated 1 files
+15 −7 lib/rabbit.js
2 changes: 1 addition & 1 deletion Packages/Objc
Submodule Objc updated 1 files
+1 −1 Classes/Rabbit.m
2 changes: 1 addition & 1 deletion Packages/PHP
Submodule PHP updated 1 files
+1 −1 src/Rabbit.php
2 changes: 1 addition & 1 deletion Packages/Swift
Submodule Swift updated 1 files
+6 −2 Classes/Rabbit.swift
2 changes: 1 addition & 1 deletion Packages/ruby
Submodule ruby updated 1 files
+1 −1 lib/rabbit.rb
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="rabbit.js"></script>
<link rel="stylesheet" href="style.css"/>
<link rel="stylesheet" href='http://mmwebfonts.comquas.com/fonts/?font=mon3' />
<link rel="stylesheet" href='http://mmwebfonts.comquas.com/fonts/?font=notosan' />
<link rel="stylesheet" href='http://mmwebfonts.comquas.com/fonts/?font=zawgyi' />
<script type="text/javascript">
function clearText() {
Expand Down
4 changes: 2 additions & 2 deletions other-lang/csharp/Rabbit.cs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions other-lang/elixir/Rabbit.ex

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions other-lang/go/rabbit.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func Uni2zg(str string) string {
"to": "$2$3\u108d"
},
{
"from": "(\u1064)([\u1000-\u1021])([\u103b\u103c]?)([\u1031]?)",
"from": "(\u1064)([\u1000-\u1021\u1040-\u1049])([\u103b\u103c]?)([\u1031]?)",
"to": "$2$3$4$1"
},
{
Expand Down Expand Up @@ -505,7 +505,7 @@ func Zg2uni(str string) string {
"to": "\u1064\u103B"
},
{
"from": "(\u1031)?([\u1000-\u1021])\u1064",
"from": "(\u1031)?([\u1000-\u1021\u1040-\u1049])\u1064",
"to": "\u1004\u103a\u1039$1$2"
},
{
Expand Down
4 changes: 2 additions & 2 deletions other-lang/java/com/comquas/rabbit/Rabbit.java

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions other-lang/javascript/rabbit.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function uni2zg(output) {
"to": "$2$3\u108d"
},
{
"from": "(\u1064)([\u1000-\u1021])([\u103b\u103c]?)([\u1031]?)",
"from": "(\u1064)([\u1000-\u1021\u1040-\u1049])([\u103b\u103c]?)([\u1031]?)",
"to": "$2$3$4$1"
},
{
Expand Down Expand Up @@ -497,7 +497,7 @@ function zg2uni(output) {
"to": "\u1064\u103B"
},
{
"from": "(\u1031)?([\u1000-\u1021])\u1064",
"from": "(\u1031)?([\u1000-\u1021\u1040-\u1049])\u1064",
"to": "\u1004\u103a\u1039$1$2"
},
{
Expand Down
4 changes: 2 additions & 2 deletions other-lang/kotlin/Rabbit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ object Rabbit {
"(ၤ)([က-အ])([ျြ]?)ိ" to "$2$3ႋ",
"(ၤ)([က-အ])([ျြ]?)ီ" to "$2$3ႌ",
"(ၤ)([က-အ])([ျြ]?)ံ" to "$2$3ႍ",
"(ၤ)([က-])([ျြ]?)([ေ]?)" to "$2$3$4$1",
"(ၤ)([က-အ၀-၉])([ျြ]?)([ေ]?)" to "$2$3$4$1",
"ရ(?=([ိီ]?)[ုူွႊ])" to "",
"ဏ္ဍ" to "",
"ဋ္ဌ" to "",
Expand Down Expand Up @@ -125,7 +125,7 @@ object Rabbit {
"" to "ှူ",
"" to "ွှ",
"ျၤ" to "ၤျ",
"(ေ)?([က-])ၤ" to "င်္$1$2",
"(ေ)?([က-အ၀-၉])ၤ" to "င်္$1$2",
"(ေ)?([က-အ])(ျ)?ႋ" to "င်္$1$2$3ိ",
"(ေ)?([က-အ])(ျ)?ႌ" to "င်္$1$2$3ီ",
"(ေ)?([က-အ])ႍ" to "င်္$1$2ံ",
Expand Down
4 changes: 2 additions & 2 deletions other-lang/objective-c/Rabbit.m

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions other-lang/php/Rabbit.php

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions other-lang/python/Rabbit.py

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions other-lang/ruby/Rabbit.rb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions other-lang/swift4/Rabbit.swift

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions rabbit.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function uni2zg(output) {
"to": "$2$3\u108d"
},
{
"from": "(\u1064)([\u1000-\u1021])([\u103b\u103c]?)([\u1031]?)",
"from": "(\u1064)([\u1000-\u1021\u1040-\u1049])([\u103b\u103c]?)([\u1031]?)",
"to": "$2$3$4$1"
},
{
Expand Down Expand Up @@ -497,7 +497,7 @@ function zg2uni(output) {
"to": "\u1064\u103B"
},
{
"from": "(\u1031)?([\u1000-\u1021])\u1064",
"from": "(\u1031)?([\u1000-\u1021\u1040-\u1049])\u1064",
"to": "\u1004\u103a\u1039$1$2"
},
{
Expand Down
4 changes: 2 additions & 2 deletions source/output/csharp/Rabbit.cs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/output/elixir/Rabbit.ex

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/output/go/rabbit.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func Uni2zg(str string) string {
"to": "$2$3\u108d"
},
{
"from": "(\u1064)([\u1000-\u1021])([\u103b\u103c]?)([\u1031]?)",
"from": "(\u1064)([\u1000-\u1021\u1040-\u1049])([\u103b\u103c]?)([\u1031]?)",
"to": "$2$3$4$1"
},
{
Expand Down Expand Up @@ -505,7 +505,7 @@ func Zg2uni(str string) string {
"to": "\u1064\u103B"
},
{
"from": "(\u1031)?([\u1000-\u1021])\u1064",
"from": "(\u1031)?([\u1000-\u1021\u1040-\u1049])\u1064",
"to": "\u1004\u103a\u1039$1$2"
},
{
Expand Down
4 changes: 2 additions & 2 deletions source/output/java/com/comquas/rabbit/Rabbit.java

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/output/javascript/rabbit.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function uni2zg(output) {
"to": "$2$3\u108d"
},
{
"from": "(\u1064)([\u1000-\u1021])([\u103b\u103c]?)([\u1031]?)",
"from": "(\u1064)([\u1000-\u1021\u1040-\u1049])([\u103b\u103c]?)([\u1031]?)",
"to": "$2$3$4$1"
},
{
Expand Down Expand Up @@ -497,7 +497,7 @@ function zg2uni(output) {
"to": "\u1064\u103B"
},
{
"from": "(\u1031)?([\u1000-\u1021])\u1064",
"from": "(\u1031)?([\u1000-\u1021\u1040-\u1049])\u1064",
"to": "\u1004\u103a\u1039$1$2"
},
{
Expand Down
4 changes: 2 additions & 2 deletions source/output/kotlin/Rabbit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ object Rabbit {
"(ၤ)([က-အ])([ျြ]?)ိ" to "$2$3ႋ",
"(ၤ)([က-အ])([ျြ]?)ီ" to "$2$3ႌ",
"(ၤ)([က-အ])([ျြ]?)ံ" to "$2$3ႍ",
"(ၤ)([က-])([ျြ]?)([ေ]?)" to "$2$3$4$1",
"(ၤ)([က-အ၀-၉])([ျြ]?)([ေ]?)" to "$2$3$4$1",
"ရ(?=([ိီ]?)[ုူွႊ])" to "",
"ဏ္ဍ" to "",
"ဋ္ဌ" to "",
Expand Down Expand Up @@ -125,7 +125,7 @@ object Rabbit {
"" to "ှူ",
"" to "ွှ",
"ျၤ" to "ၤျ",
"(ေ)?([က-])ၤ" to "င်္$1$2",
"(ေ)?([က-အ၀-၉])ၤ" to "င်္$1$2",
"(ေ)?([က-အ])(ျ)?ႋ" to "င်္$1$2$3ိ",
"(ေ)?([က-အ])(ျ)?ႌ" to "င်္$1$2$3ီ",
"(ေ)?([က-အ])ႍ" to "င်္$1$2ံ",
Expand Down
4 changes: 2 additions & 2 deletions source/output/objective-c/Rabbit.m

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/output/php/Rabbit.php

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/output/python/Rabbit.py

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/output/ruby/Rabbit.rb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/output/swift4/Rabbit.swift

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/rule/uni2zg.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"to": "$2$3\u108d"
},
{
"from": "(\u1064)([\u1000-\u1021])([\u103b\u103c]?)([\u1031]?)",
"from": "(\u1064)([\u1000-\u1021\u1040-\u1049])([\u103b\u103c]?)([\u1031]?)",
"to": "$2$3$4$1"
},
{
Expand Down
2 changes: 1 addition & 1 deletion source/rule/zg2uni.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"to": "\u1064\u103B"
},
{
"from": "(\u1031)?([\u1000-\u1021])\u1064",
"from": "(\u1031)?([\u1000-\u1021\u1040-\u1049])\u1064",
"to": "\u1004\u103a\u1039$1$2"
},
{
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ textarea{
display:inline-block;
width:48%;
padding-left: 10px;
font-family: "Pyidaungsu","MON3 Anonta 1";
font-family: "Noto Sans Myanmar","Pyidaungsu";



Expand Down

0 comments on commit 492d3dc

Please sign in to comment.