Lines Matching refs:rx

598       rx = new RegExp('^[ ]*$','g');
599 wval = wval.replace(rx,'');
1076 var rx = new RegExp('(^\/[^ ]+) *(.*)','ig');
1078 cmd = cmd.replace(rx, '$1 '+this.clientid+' '+(recipientid==''?'0':recipientid)+' $2');
1491 var rx = null;
1534 rx = new RegExp('<a href="mailto:(.*?)".*?>.*?<\/a>','ig');
1535 msg = msg.replace(rx, '$1');
1536 rx = new RegExp('<a href="(.*?)".*?>.*?<\/a>','ig');
1537 msg = msg.replace(rx, '$1');
1541 rx = new RegExp(' (?= )(?![^<]*>)','g');
1542 msg = msg.replace(rx, '&nbsp;');
1545 rx = new RegExp('\\[b\\](.+?)\\[\/b\\]','ig');
1546 msg = msg.replace(rx, '<span style="font-weight: bold">$1</span>');
1547 rx = new RegExp('\\[i\\](.+?)\\[\/i\\]','ig');
1548 msg = msg.replace(rx, '<span style="font-style: italic">$1</span>');
1549 rx = new RegExp('\\[u\\](.+?)\\[\/u\\]','ig');
1550 msg = msg.replace(rx, '<span style="text-decoration: underline">$1</span>');
1551 rx = new RegExp('\\[s\\](.+?)\\[\/s\\]','ig');
1552 msg = msg.replace(rx, '<span style="text-decoration: line-through">$1</span>');
1561rx = new RegExp('\\[color=([a-zA-Z]+|\\#?[0-9a-fA-F]{6}|\\#?[0-9a-fA-F]{3})\\](.+?)\\[\/color\\]',…
1562 msg = msg.replace(rx, '<span style="color: $1">$2</span>');
1565rx = new RegExp('\\[color=([a-zA-Z]+|\\#?[0-9a-fA-F]{6}|\\#?[0-9a-fA-F]{3})\\](.+?)\\[\/color\\]',…
1566 msg = msg.replace(rx, '<span style="color: $1">$2</span>');
1575 rx = new RegExp(RegExp.escape(sl[i]) + '(?![^<]*>)','g');
1576 …msg = msg.replace(rx, '<img src="'+ smileys.get(sl[i]) +'" alt="' + sl[i] + '" title="' + sl[i] + …
1580 rx = new RegExp('(^|[ :,;])'+RegExp.escape(this.nickname)+'([ :,;]|$)','gi');
1581 msg = msg.replace(rx, '$1<strong>'+ this.nickname +'</strong>$2');