base2 ã®ã³ã¼ããè¦ã¦ããã便å©ããã ã£ãã®ã§ã¡ã¢ http://code.google.com/p/base2/ æååããæ£è¦è¡¨ç¾ãä½ãã¨ã RegExp("^hoge$"); // hoge ã¨ããã RegExp("^\\\\$"); // \ ã¨ããã RegExp("^\\[hoge\\]$"); // [hoge] ã¨ããã ã¨ããæãã§ãããã¯ã¹ã©ãã·ã¥ããã£ã±ãæ¸ããªããã°ãããªãã®ã§ 以ä¸ã®ãããªé¢æ°ãç¨æãã¦ãã£ã¦ function _r(str) { return (str + '').replace(/([\/()[\]{}|*+-.,^$?\\])/g, "\\$1"); } ãããªæã㧠match(RegExp('^' + _r(prefix) + 'unko'), 'unko'); ãããã
{{#tags}}- {{label}}
{{/tags}}