/plugin/webcode/ |
H A D | webCodeConsole.js | 38 .replace(/&/g, '&') 39 .replace(/</g, '<') 40 .replace(/>/g, '>') 41 .replace(/"/g, '"') 42 .replace(/ /g, ' '); 61 s = s.replace(/\n/g, '<BR>')
|
/plugin/xcom/ |
H A D | script.js | 328 srch_str = srch_str.replace(/^\s+/,""); 329 srch_str = srch_str.replace(/\s+$/,""); 330 srch_str = srch_str.replace(/\s+\"/,'\"'); 331 srch_str = srch_str.replace(/\"\s+/,'\"'); 346 result = result.replace(/=\s+/g, '='); 347 result = result.replace(/\s*&\s*/g, '&'); 456 return a.replace(/,/g,' __comma__ '); 460 return a.replace(/,/g,'__comma__'); 579 data = data.replace(/&/g,"%26"); 655 key = key.replace(/local/,""); [all …]
|
/plugin/tablelayout/_jstest/ |
H A D | colWidths.tests.js | 32 var actual_html = $fixture.html().replace(/\s\s+/g, ' ').trim(); 34 assert.deepEqual(actual_html, expected_html.replace(/\s\s+/g, ' ').trim(), 'html is ok'); 60 var actual_html = $fixture.html().replace(/\s\s+/g, ' ').trim(); 62 assert.deepEqual(actual_html, expected_html.replace(/\s\s+/g, ' ').trim(), 'html is ok');
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/ |
H A D | replace.rst | 1 ``replace`` 4 The ``replace`` filter formats a given string by replacing the placeholders 9 {{ "I like %this% and %that%."|replace({'%this%': foo, '%that%': "bar"}) }} 16 {{ "I like this and --that--."|replace({'this': foo, '--that--': "bar"}) }}
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Spanner/ |
H A D | Mutation.php | 78 public function setReplace(Write $replace) argument 80 $this->replace = $replace; 87 return $this->replace;
|
/plugin/chem/ |
H A D | syntax.php | 49 …$replace = array("\${1}<sup>\${2}</sup>", "<sup>\${1}</sup>", "\${1}<sup>\${2}</sup>","\${1}<sub>\… 50 return preg_replace($pattern,$replace,$raw); 55 $replace = array("<text:span text:style-name=\"sup\">\${1}</text:span>", 57 return preg_replace($pattern,$replace,$c);
|
/plugin/commentsyntax/ |
H A D | script.js | 29 comment = comment.replace(/^ *\/\*+ *\n?/,''); // uncomment left 31 comment = comment.replace(/^ *\/\*+ */,''); 33 comment = comment.replace(/ *\*+\/\s*$/,''); // uncomment right 44 comment = comment.replace(/^\n?/,"/*\n");
|
/plugin/combo/resources/webcode/ |
H A D | webcode-console.js | 117 s = s.replace(/\n/g, '<BR>') 124 .replace(/&/g, '&') 125 .replace(/</g, '<') 126 .replace(/>/g, '>') 127 .replace(/"/g, '"') 128 .replace(/ /g, ' ');
|
/plugin/sectiontoggle/ |
H A D | script.js | 6 return expr.replace(/[.*+\-?^${}()|[\]\\]/g, '\\$&');
36 text = text.replace(/\s/g, "_");
48 var hash = jQuery(elem).html().replace(/\s/g, "_");
129 SectionToggle.hash = SectionToggle.hash.replace(/#/, "");
130 SectionToggle.hash = SectionToggle.hash.replace(/\s/g, "_");
204 id_string = id_string.replace(/,+$/, "");
207 this.toc_xcl = this.toc_xcl.replace(/,+$/, "");
211 id = id.replace(/\s/g, "_");
|
/plugin/do/scripts/ |
H A D | PluginDo.js | 188 return lang.replace(/%(1\$)?(s|d)/, arg1); 190 return lang.replace(/%(1\$)?(s|d)/, arg1) 191 .replace(/%(2\$)?(s|d)/, arg2); 200 .replace('&', '&') 201 .replace('<', '<') 202 .replace('>', '>') 203 .replace('"', '"'); 213 return text.replace(/(<([^>]+)>)/ig, ""); 483 users = users.replace(date, ''); 486 users = users.replace(/^\s+/, ''); [all …]
|
/plugin/fckg/fckeditor/editor/dialog/fck_link/ |
H A D | fck_link.js | 284 func = func.replace(/NAME/g, "'" + aAddressParts[0].replace(/'/g, '\\\'') + "'") ; 285 func = func.replace(/DOMAIN/g, "'" + aAddressParts[1].replace(/'/g, '\\\'') + "'") ; 286 … func = func.replace(/SUBJECT/g, "'" + encodeURIComponent( subject ).replace(/'/g, '\\\'') + "'") ; 287 func = func.replace(/BODY/g, "'" + encodeURIComponent( body ).replace(/'/g, '\\\'') + "'") ; 431 qs = qs.replace(/^\s*[\?\&]/,""); 432 qs = qs.replace(/[\?\&]\s*$/,""); 455 url = url.replace(/\//g,":"); 642 var share = m[1].replace(/\//g,'\\'); 1003 sInnerHtml = sInnerHtml.replace( /^#/, '' ) ; 1223 url = url.replace(/^:pages/,""); [all …]
|
/plugin/numbering/ |
H A D | script.js | 23 var id = this.id.replace(/num/,'nmbr'); 73 add = add.replace(/^\s+/); 74 add = add.replace(/\s+$/); 75 text = text.replace(/%R/,add);
|
/plugin/freechat/phpfreechat/data/public/js/ |
H A D | sprintf2.js | 10 data = data.replace( /%s/, arg[ k ] ); 13 data = data.replace( /%d/, arg[ k ] ); 16 data = data.replace( /%b/, arg[ k ] ? 'true' : 'false' );
|
/plugin/tableedit/ |
H A D | tableedit.js | 38 currentPattern.compile(pattern.replace(/#/g, "\\"+headChar), "gm"); 39 currentReplacePattern = replacePattern.replace(/#/g, headChar).replace(/\$&/g, headDefault); 40 var text = inputText.replace(currentPattern, currentReplacePattern); 42 currentPattern.compile(pattern.replace(/#/g, "\\"+normalChar),"gm"); 43 currentReplacePattern = replacePattern.replace(/#/g, normalChar).replace(/\$&/g, normalDefault) 44 return text.replace(currentPattern, currentReplacePattern);
|
/plugin/fckg/ |
H A D | script.js | 70 match[0].replace( endTag, parseEndTag ); 80 match[0].replace( startTag, parseStartTag ); 96 html = html.replace(new RegExp("(.*)<\/" + stack.last() + "[^>]*>"), function(all, text){ 97 text = text.replace(/<!--(.*?)-->/g, "$1") 98 .replace(/<!\[CDATA\[(.*?)]]>/g, "$1"); 136 rest.replace(attr, function(match, name) { 145 escaped: value.replace(/(^|[^\\])"/g, '$1\\\"') //"
|
/plugin/fckg/scripts/ |
H A D | script-cmpr.js | 1 …replace(c,o);q=false}}else{if(m.indexOf("<")==0){n=m.match(k);if(n){m=m.substring(n[0].length);n[0…
|
/plugin/tplmod/ |
H A D | script.js | 51 return val.replace(img,JSINFO['tmplft_logo']); 61 return val.replace(img,JSINFO['tmplft_logo']); 71 val = val.replace(/^\s*(<.*?>)(.*?)(<\/)/,function(m,m1,m2,m3) { 108 var regex = new RegExp(JSINFO['tmplft_pagetools'].replace(/,/g,"|")); 110 var xcludes = new RegExp(JSINFO['tmplft_ptools_xcl'].replace(/,/g,"|")); 136 xcludes = new RegExp(JSINFO['tmplft_ptools_xcl'].replace(/,/g,"|")); 148 var regex = new RegExp(JSINFO['tmplft_sitetools'].replace(/,/g,"|"));
|
/plugin/sortablejs/ |
H A D | script.js | 66 colid = colid.replace( patt1, '' ); 93 colid = mi[0].replace( 'sort', '' ); 100 colid = colid.replace( 'r', '' ); 327 return node.textContent.replace( /^\s+|\s+$/g, '' ); 329 return node.innerText.replace( /^\s+|\s+$/g, '' ); 331 return node.text.replace( /^\s+|\s+$/g, '' ); 335 … return ( node.nodeName.toLowerCase() === "input" ) ? node.value.replace( /^\s+|\s+$/g, '' ) : ''; 337 return node.nodeValue.replace( /^\s+|\s+$/g, '' ); 344 return innerText.replace( /^\s+|\s+$/g, '' ); 401 var aa = parseFloat( a[0].replace( ",", "." ).replace( /[^0-9.\-]/g, "" ) ); [all …]
|
/plugin/wysiwyg/fckeditor/editor/_source/internals/ |
H A D | fckxhtml.js | 68 sXHTML = sXHTML.replace( /^<xhtml.*?>/, '<xhtml>' ) ; 74 sXHTML = sXHTML.replace( FCKRegexLib.SpaceNoClose, ' />'); 77 sXHTML = sXHTML.replace( FCKRegexLib.ForceSimpleAmpersand, '&' ) ; 86 sXHTML = sXHTML.replace( oRegex, FCKXHtml.SpecialBlocks[i] ) ; 90 sXHTML = sXHTML.replace( FCKRegexLib.GeckoEntitiesMarker, '&' ) ; 106 else if ( attributeValue.replace ) 109 attributeValue = attributeValue.replace( /&/g, '___FCKAmp___' ) ; 112 attributeValue = attributeValue.replace( FCKXHtmlEntities.EntitiesRegex, FCKXHtml_GetEntity ) ; 298 …targetNode.appendChild( this.XML.createTextNode( textValue.replace( FCKXHtmlEntities.EntitiesRegex… 371 cssText = cssText.replace( /^(\r\n|\n|\r)/, '' ) ; [all …]
|
/plugin/ckgedit/ckeditor/plugins/tags/dialogs/ |
H A D | tags.js.unc | 10 …ontent = editor.document.$.children[0].children[1].innerHTML.replace(/<[^<>]*>/g,'').replace(/>… 120 selected = selected.replace(/\s+$/,""); 127 editor.setData(selected+data.replace(/\{\{tag>.*?\}\}/g,'')); 130 editor.setData(data.replace(/\{\{tag>.*?\}\}/g,'')+selected); 144 …ontent = editor.document.$.children[0].children[1].innerHTML.replace(/<[^<>]*>/g,'').replace(/>… 148 matches[1] = matches[1].replace(/ /g, " "); 149 matches[1] = matches[1].replace(/\s+/g," " ); 173 custom_insert=custom_insert.replace(/\s+$/,"");
|
/plugin/autlogin/ |
H A D | script.js | 32 str = str.replace(/&/g,"&"); 33 str = str.replace(/\"/g,"""); 34 str = str.replace(/\'/g,"'"); 35 str = str.replace(/</g,"<"); 36 str = str.replace(/>/g,">"); 91 obj[i].className = obj[i].className.replace(/ cur/,'');
|
/plugin/wysiwyg/fckeditor/editor/dialog/fck_select/ |
H A D | fck_select.js | 176 text = text.replace( /&/g, '&' ) ; 177 text = text.replace( /</g, '<' ) ; 178 text = text.replace( />/g, '>' ) ; 189 text = text.replace( />/g, '>' ) ; 190 text = text.replace( /</g, '<' ) ; 191 text = text.replace( /&/g, '&' ) ;
|
/plugin/fckg/fckeditor/editor/dialog/fck_select/ |
H A D | fck_select.js | 176 text = text.replace( /&/g, '&' ) ; 177 text = text.replace( /</g, '<' ) ; 178 text = text.replace( />/g, '>' ) ; 189 text = text.replace( />/g, '>' ) ; 190 text = text.replace( /</g, '<' ) ; 191 text = text.replace( /&/g, '&' ) ;
|
/plugin/syntaxhighlighter/Uncompressed/ |
H A D | shCore.js | 74 .replace(/</g,'<') 75 .replace(/>/g,'>') 76 .replace(/&/g,'&') 137 doc.write(dp.sh.Strings.AboutDialog.replace('{V}', dp.sh.Version)); 270 str = str.replace(/ /g, ' '); 271 str = str.replace(/</g, '<'); 274 str = str.replace(/\n/gm, ' <br>'); 389 var html = this.div.innerHTML.replace(/<(br)\/?>/gi, '\n'); 442 return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1'); 447 return str.replace(/\n*$/, '').replace(/^\n*/, ''); [all …]
|
/plugin/syntaxhighlighter/Scripts/ |
H A D | shCore.js | 9 {sender.parentNode.removeChild(sender);highlighter.div.className=highlighter.div.className.replace(… 10 {var code=dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/</g,'<');var wnd=window.o… 11 …dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/</g,'<').replace(/>/g,'>').repl… 18 …(doc,window.document);doc.write('<div class="'+highlighter.div.className.replace('collapsed','')+'… 19 …tils.CopyStyles(doc,window.document);doc.write(dp.sh.Strings.AboutDialog.replace('{V}',dp.sh.Versi… 33 {return(dp.sh.isBloggerMode==true)?str.replace(/<br\s*\/?>|<br\s*\/?>/gi,'\n'):str;} 53 …ar span=this.CreateElement('SPAN');str=str.replace(/ /g,' ');str=str.replace(/</g,'<');str… 84 {var html=this.div.innerHTML.replace(/<(br)\/?>/gi,'\n');var lines=html.split('\n');if(this.addCont… 97 {return str.replace(/^\s*(.*?)[\s\n]*$/g,'$1');} 99 {return str.replace(/\n*$/,'').replace(/^\n*/,'');} [all …]
|