aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Utils.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Utils.hx')
-rw-r--r--src/client/Utils.hx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/Utils.hx b/src/client/Utils.hx
index 232ca02..f23365e 100644
--- a/src/client/Utils.hx
+++ b/src/client/Utils.hx
@@ -89,6 +89,14 @@ class Utils {
}
}
+ public static function matchedNum(ereg:EReg):Int {
+ #if js
+ return (ereg : Dynamic).r.m.length;
+ #else
+ #error "not implemented"
+ #end
+ }
+
public static function browseFileUrl(
onFileLoad:(url:String, name:String) -> Void,
isBinary = true,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage