ã©ããããããã£ã¦ãªãã£ãã¨ãããã誤解ãã¦ããé¨åããã£ããããªã®ã§ãã¨ããããFirebugã§æ¸ãã¦ã¿ãã var log = console.log; log("a/a".match("a")); // "a" log(RegExp.$1); // log("a/a".match("(a)/")); // "a/", "a" log(RegExp.$1); // a log("b/b".match(/(\w)\//)); // "b/" , "b" log(RegExp.$1); // b log("c/c".match("(\w)")); // null log(RegExp.$1); // b log("d/d".match("(\\w)")); // "d" ,"d" log(RegExp.$1); // d log("e/e/e/".match(new RegExp("(e)
{{#tags}}- {{label}}
{{/tags}}