|
|
|
@ -202,7 +202,7 @@ var OS = OneeSama.prototype;
|
|
|
|
|
|
|
|
|
|
var break_re = new RegExp("(\\S{" + DEFINES.WORD_LENGTH_LIMIT + "})");
|
|
|
|
|
/* internal refs, embeds */
|
|
|
|
|
var ref_re = />>(\d+|>\/s\/.+|>\/music\/s\/.+|>\/watch\?v=[\w-]{11}(?:#t=[\dhms]{1,9})?|>\/soundcloud\/[\w-]{1,40}\/[\w-]{1,80}|>\/@\w{1,15}\/\d{4,20}(?:\?s=\d+)?|>\/(?:a|sysint|nap)\/\d{0,10})/;
|
|
|
|
|
var ref_re = />>(\d+|>\/s\/.+|>\/music\/s\/.+|>\/watch\?v=[\w-]{11}(?:#t=[\dhms]{1,9})?|>\/soundcloud\/[\w-]{1,40}\/[\w-]{1,80}|>\/@\w{1,15}\/\d{4,20}(?:\?s=\d+)?|>\/(?:a|sysint|nap)\/\d{0,10}|>\/rurus\/)/;
|
|
|
|
|
|
|
|
|
|
OS.hook = function (name, func) {
|
|
|
|
|
var hs = this.hooks[name];
|
|
|
|
@ -263,6 +263,9 @@ OS.red_string = function (ref) {
|
|
|
|
|
var num = parseInt(ref.slice(4+2), 10);
|
|
|
|
|
dest = '../outbound/nap/' + (num ? ''+num : '');
|
|
|
|
|
}
|
|
|
|
|
else if (prefix == '>/r') {
|
|
|
|
|
dest ="/faq.html";
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
this.tamashii(parseInt(ref, 10));
|
|
|
|
|
return;
|
|
|
|
|