diff options
author | anekos | 2011-09-12 19:44:54 +0900 |
---|---|---|
committer | anekos | 2011-09-12 19:44:54 +0900 |
commit | 6aad0ed3c73cca3d514192875e03c1a10920fa6a (patch) | |
tree | c2a148e117edc74cf1b9dd4790e6c6ca6bb67d16 /i_love_echo.js | |
parent | e57b42049816037d91781f56009f37d0cc33f33e (diff) | |
download | vimperator-plugins-6aad0ed3c73cca3d514192875e03c1a10920fa6a.tar.bz2 |
escapeRegex 追加
Diffstat (limited to 'i_love_echo.js')
-rw-r--r-- | i_love_echo.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/i_love_echo.js b/i_love_echo.js index 41de89b..a2f9ab1 100644 --- a/i_love_echo.js +++ b/i_love_echo.js @@ -203,6 +203,7 @@ createPrototype($s, { var s = [i < hash.length ? toHexString(hash.charCodeAt(i)) : "" for (i in hash)].join(""); return $(s); }, + get escpateRegex() $(util.escapeRegex(this.value)), s: function(from, to) $(this.value.replace(from, to)), split: function(reg) $(this.value.split(reg)), get toJSON(){ |