Skip to content
Snippets Groups Projects
Commit df7a5aa3 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

improve converter

parent eeefcd02
Branches
Tags
No related merge requests found
...@@ -18,7 +18,7 @@ editor.rereplace(r"([a-zA-Z@].*?)<<", r"$1\n<<") ...@@ -18,7 +18,7 @@ editor.rereplace(r"([a-zA-Z@].*?)<<", r"$1\n<<")
editor.rereplace(r">>([a-zA-Z,\.@ ].*?)", r">>\n\t$1") editor.rereplace(r">>([a-zA-Z,\.@ ].*?)", r">>\n\t$1")
# Raw text # Raw text
editor.rereplace(r" ([a-zA-Z@\.,; ].*)", r" r.push\(`\1`\);") editor.rereplace(r" ([a-zA-Z@\.,`'; ].*)", r" r.push\(`\1`\);")
# If / else # If / else
editor.rereplace(r"<<if (.*?)>>", r"if \1 {") editor.rereplace(r"<<if (.*?)>>", r"if \1 {")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment