Home
last modified time | relevance | path

Searched refs:replace (Results 51 – 75 of 1179) sorted by relevance

12345678910>>...48

/plugin/webcode/
H A DwebCodeConsole.js38 .replace(/&/g, '&')
39 .replace(/</g, '&lt;')
40 .replace(/>/g, '&gt;')
41 .replace(/"/g, '&quot;')
42 .replace(/ /g, '&nbsp;');
61 s = s.replace(/\n/g, '<BR>')
/plugin/xcom/
H A Dscript.js328 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 DcolWidths.tests.js32 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 Dreplace.rst1 ``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 DMutation.php78 public function setReplace(Write $replace) argument
80 $this->replace = $replace;
87 return $this->replace;
/plugin/chem/
H A Dsyntax.php49 …$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 Dscript.js29 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 Dwebcode-console.js117 s = s.replace(/\n/g, '<BR>')
124 .replace(/&/g, '&amp;')
125 .replace(/</g, '&lt;')
126 .replace(/>/g, '&gt;')
127 .replace(/"/g, '&quot;')
128 .replace(/ /g, '&nbsp;');
/plugin/sectiontoggle/
H A Dscript.js6 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 DPluginDo.js188 return lang.replace(/%(1\$)?(s|d)/, arg1);
190 return lang.replace(/%(1\$)?(s|d)/, arg1)
191 .replace(/%(2\$)?(s|d)/, arg2);
200 .replace('&', '&amp;')
201 .replace('<', '&lt;')
202 .replace('>', '&gt;')
203 .replace('"', '&quot;');
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 Dfck_link.js284 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 Dscript.js23 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 Dsprintf2.js10 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 Dtableedit.js38 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 Dscript.js70 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 Dscript-cmpr.js1replace(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 Dscript.js51 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 Dscript.js66 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 Dfckxhtml.js68 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 Dtags.js.unc10 …ontent = editor.document.$.children[0].children[1].innerHTML.replace(/<[^<>]*>/g,'').replace(/&gt;…
120 selected = selected.replace(/\s+$/,"");
127 editor.setData(selected+data.replace(/\{\{tag&gt;.*?\}\}/g,''));
130 editor.setData(data.replace(/\{\{tag&gt;.*?\}\}/g,'')+selected);
144 …ontent = editor.document.$.children[0].children[1].innerHTML.replace(/<[^<>]*>/g,'').replace(/&gt;…
148 matches[1] = matches[1].replace(/&nbsp;/g, " ");
149 matches[1] = matches[1].replace(/\s+/g," " );
173 custom_insert=custom_insert.replace(/\s+$/,"");
/plugin/autlogin/
H A Dscript.js32 str = str.replace(/&/g,"&amp;");
33 str = str.replace(/\"/g,"&quot;");
34 str = str.replace(/\'/g,"&#039;");
35 str = str.replace(/</g,"&lt;");
36 str = str.replace(/>/g,"&gt;");
91 obj[i].className = obj[i].className.replace(/ cur/,'');
/plugin/wysiwyg/fckeditor/editor/dialog/fck_select/
H A Dfck_select.js176 text = text.replace( /&/g, '&amp;' ) ;
177 text = text.replace( /</g, '&lt;' ) ;
178 text = text.replace( />/g, '&gt;' ) ;
189 text = text.replace( /&gt;/g, '>' ) ;
190 text = text.replace( /&lt;/g, '<' ) ;
191 text = text.replace( /&amp;/g, '&' ) ;
/plugin/fckg/fckeditor/editor/dialog/fck_select/
H A Dfck_select.js176 text = text.replace( /&/g, '&amp;' ) ;
177 text = text.replace( /</g, '&lt;' ) ;
178 text = text.replace( />/g, '&gt;' ) ;
189 text = text.replace( /&gt;/g, '>' ) ;
190 text = text.replace( /&lt;/g, '<' ) ;
191 text = text.replace( /&amp;/g, '&' ) ;
/plugin/syntaxhighlighter/Uncompressed/
H A DshCore.js74 .replace(/&lt;/g,'<')
75 .replace(/&gt;/g,'>')
76 .replace(/&amp;/g,'&')
137 doc.write(dp.sh.Strings.AboutDialog.replace('{V}', dp.sh.Version));
270 str = str.replace(/ /g, '&nbsp;');
271 str = str.replace(/</g, '&lt;');
274 str = str.replace(/\n/gm, '&nbsp;<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 DshCore.js9 {sender.parentNode.removeChild(sender);highlighter.div.className=highlighter.div.className.replace(…
10 {var code=dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/</g,'&lt;');var wnd=window.o…
11 …dp.sh.Utils.FixForBlogger(highlighter.originalCode).replace(/&lt;/g,'<').replace(/&gt;/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*\/?>|&lt;br\s*\/?&gt;/gi,'\n'):str;}
53 …ar span=this.CreateElement('SPAN');str=str.replace(/ /g,'&nbsp;');str=str.replace(/</g,'&lt;');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 …]

12345678910>>...48