src/JsRender/Roo.vala
authorAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 06:21:46 +0000 (14:21 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 19 Jun 2015 06:21:46 +0000 (14:21 +0800)
src/JsRender/Roo.vala

index b8dfb44..148eb4a 100644 (file)
@@ -727,7 +727,7 @@ namespace JsRender {
                        var reg = new Regex("[^A-Za-z.]+");
             
                         modkey = this.modOrder + "-" + reg.replace(this.name, this.name.length, 0 , "-");
-            } catch (Exception e) {
+            } catch (RegexError e) {
                        //noop..
             }
                string  parent =   (this.parent.length > 0 ?  "'" + this.parent + "'" :  "false");