Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 964) sorted by relevance

12345678910>>...39

/plugin/ckgedit/ckeditor/plugins/msword/dialogs/bak/
H A Dmsword.js94 inner = inner.replace(/&lt/gm,'<');
95 inner = inner.replace(/&gt/mg,'>');
100 inner = inner.replace(regex, function(m,n) {
112 inner = inner.replace(/&lt/gm,'<');
113 inner = inner.replace(/&gt/mg,'>');
117 inner = inner.replace(/<td.*?>/mg, "<td>");
125 inner = inner.replace(/style="[^>]+"/gm,"");
127 inner = inner.replace(/(<span\s*>)+/gm,"");
128 inner = inner.replace(/(<\/span>)+/gm,"");
130 m = m.replace(/<\/p>/mg,"");
[all …]
H A Dmsword.js.unc94 inner = inner.replace(/&lt/gm,'<');
95 inner = inner.replace(/&gt/mg,'>');
100 inner = inner.replace(regex, function(m,n) {
112 inner = inner.replace(/&lt/gm,'<');
113 inner = inner.replace(/&gt/mg,'>');
117 inner = inner.replace(/<td.*?>/mg, "<td>");
125 inner = inner.replace(/style="[^>]+"/gm,"");
127 inner = inner.replace(/(<span\s*>)+/gm,"");
128 inner = inner.replace(/(<\/span>)+/gm,"");
130 m = m.replace(/<\/p>/mg,"");
[all …]
/plugin/ckgedit/ckeditor/plugins/msword/dialogs/
H A Dmsword.js1replace(/&lt/gm,"<");e=e.replace(/&gt/mg,">");var g=new RegExp("<xml>([^]*)</xml>","gm");e=e.repla…
H A Dmsword.js.unc99 inner = inner.replace(/&lt/gm,'<');
100 inner = inner.replace(/&gt/mg,'>');
105 inner = inner.replace(regex, function(m,n) {
120 inner = inner.replace(regex,"");
123 inner = inner.replace(/&lt/gm,'<');
124 inner = inner.replace(/&gt/mg,'>');
128 inner = inner.replace(/<td.*?>/mg, "<td>");
138 inner = inner.replace(/(<span\s*>)+/gm,"");
139 inner = inner.replace(/(<\/span>)+/gm,"");
141 m = m.replace(/<\/p>/mg,"");
[all …]
/plugin/wysiwyg/fckeditor/editor/plugins/bbcode/
H A Dfckplugin.js37 data = data.replace( /</g, '&lt;' ) ;
38 data = data.replace( />/g, '&gt;' ) ;
41 data = data.replace( /(?:\r\n|\n|\r)/g, '<br>' ) ;
73 data = data.replace( /<br(?=[ \/>]).*?>/gi, '\r\n') ;
79 data = data.replace( /<(?:b|strong)>/gi, '[b]') ;
80 data = data.replace( /<\/(?:b|strong)>/gi, '[/b]') ;
83 data = data.replace( /<(?:i|em)>/gi, '[i]') ;
84 data = data.replace( /<\/(?:i|em)>/gi, '[/i]') ;
87 data = data.replace( /<u>/gi, '[u]') ;
88 data = data.replace( /<\/u>/gi, '[/u]') ;
[all …]
/plugin/fckg/fckeditor/editor/plugins/bbcode/
H A Dfckplugin.js37 data = data.replace( /</g, '&lt;' ) ;
38 data = data.replace( />/g, '&gt;' ) ;
41 data = data.replace( /(?:\r\n|\n|\r)/g, '<br>' ) ;
73 data = data.replace( /<br(?=[ \/>]).*?>/gi, '\r\n') ;
79 data = data.replace( /<(?:b|strong)>/gi, '[b]') ;
80 data = data.replace( /<\/(?:b|strong)>/gi, '[/b]') ;
83 data = data.replace( /<(?:i|em)>/gi, '[i]') ;
84 data = data.replace( /<\/(?:i|em)>/gi, '[/i]') ;
87 data = data.replace( /<u>/gi, '[u]') ;
88 data = data.replace( /<\/u>/gi, '[/u]') ;
[all …]
/plugin/ckgdoku/scripts/
H A Dparse_wiki-cmpr.js1replace(i,function(v){v=v.replace(/\s+/g,"");return v});i=new RegExp("\\>(.*?)(\\]\\]\\<\\/font\\>…
H A Dparse_wiki.js.unc1408 text = text.replace(/\t/g," ");
1431 text=text.replace('&lt; ','&lt;');
1433 text = text.replace(/&#39;/g,"'"); //replace single quote entities with single quotes
1462 text=text.replace(/^\s{2,}/," ");
1488 text = text.replace( geshi[0], "");
1516 results=results.replace(/\s$/,"");
1520 text = text.replace(/---/g,'&mdash;');
1594 if(text.replace) {
1597 text = text.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
1706 results = results.replace(regex,'');
[all …]
/plugin/ckgedit/scripts/
H A Dparse_wiki-cmpr.js1replace(i,function(v){v=v.replace(/\s+/g,"");return v});i=new RegExp("\\>(.*?)(\\]\\]\\<\\/font\\>…
H A Dparse_wiki.js.unc13 results = results.replace(regex, function(m) {
14 m = m.replace(/\s+/g, "");
1442 text = text.replace(/&#39;/g, "'"); //replace single quote entities with single quotes
1446 … text = text.replace(/&not;ags/g, '&notags'); //replace &not entity in include notags param
1596 if (text.replace) {
1599 text = text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
1627 m = m.replace(/CKGE_TMP_\w+/gm, "");
1661 link = link.replace(/\s/, '%20');
1779 this.replace(
1822 m = m.replace(/\s+/g, "");
[all …]
/plugin/codehighlight/cp/engines/
H A Dmsie.js116 o = o.replace(/<BR>/g,'\r\n');
117 o = o.replace(/\u2008/g,'\t');
119 o = o.replace(/<P>/g,'\n');
120 o = o.replace(/<\/P>/g,'\r');
121 o = o.replace(/<.*?>/g,'');
122 o = o.replace(/&nbsp;/g,'');
124 o = o.replace(/\n\r/g,'<P></P>');
125 o = o.replace(/\n/g,'<P>');
126 o = o.replace(/\r/g,'<\/P>');
127 o = o.replace(/<P>(<P>)+/,'<P>');
[all …]
H A Dopera.js112 x = x.replace(/\t/g, ' ');
210 code = code.replace(/<br>/g,'\n');
211 code = code.replace(/\u2009/g,'');
212 code = code.replace(/<.*?>/g,'');
213 code = code.replace(/&lt;/g,'<');
214 code = code.replace(/&gt;/g,'>');
215 code = code.replace(/&amp;/gi,'&');
222 code = code.replace(/\u2009/gi,'');
223 code = code.replace(/&/gi,'&amp;');
224 code = code.replace(/</g,'&lt;');
[all …]
H A Dgecko.js111 o = o.replace(/<br>/g,'\n');
112 o = o.replace(/<.*?>/g,'');
114 x = x.replace(/\n/g,'<br>');
237 code = code.replace(/<br>/g,'\n');
238 code = code.replace(/\u2009/g,'');
239 code = code.replace(/<.*?>/g,'');
240 code = code.replace(/&lt;/g,'<');
241 code = code.replace(/&gt;/g,'>');
242 code = code.replace(/&amp;/gi,'&');
251 code = code.replace(/</g,'&lt;');
[all …]
/plugin/fckg/fckeditor/editor/plugins/plugintool/
H A Dfckplugin.js41 val = val.replace(/^\s+/,'');
42 val = val.replace(/\s+$/,'');
55 mySelection = mySelection.replace(/^\s+/,"");
56 mySelection = mySelection.replace(/\s+$/,"");
61 mySelection = mySelection.replace(/<\/FCK:plugin>/gi,"");
62 mySelection = mySelection.replace(/<FCK:plugin.*?>/gi,"");
72 mySelection = mySelection.replace(/<P.*?>/gi," ");
74 mySelection = mySelection.replace(/<br>/g," <br> ");
101 val = val.replace(/</g,"&lt;");
171 html = html.replace( oRegex, '<FCK:$1$2' ) ;
[all …]
/plugin/ikso/
H A Dscript.js159 t = t.replace(Cxapelado_literoj.cxRX,"ĉ");
160 t = t.replace(Cxapelado_literoj.gxRX,"ĝ");
161 t = t.replace(Cxapelado_literoj.hxRX,"ĥ");
162 t = t.replace(Cxapelado_literoj.jxRX,"ĵ");
163 t = t.replace(Cxapelado_literoj.sxRX,"ŝ");
164 t = t.replace(Cxapelado_literoj.uxRX,"ŭ");
165 t = t.replace(Cxapelado_literoj.CxRX,"Ĉ");
166 t = t.replace(Cxapelado_literoj.GxRX,"Ĝ");
167 t = t.replace(Cxapelado_literoj.HxRX,"Ĥ");
168 t = t.replace(Cxapelado_literoj.JxRX,"Ĵ");
[all …]
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/py/
H A Dfckoutput.py30 def escape(text, replace=string.replace): argument
38 text = replace(text, '&', '&amp;') # must be done 1st
39 text = replace(text, '<', '&lt;')
40 text = replace(text, '>', '&gt;')
41 text = replace(text, '"', '&quot;')
108 'fileUrl': fileUrl.replace ('"', '\\"'),
109 'fileName': fileName.replace ( '"', '\\"' ) ,
110 'customMsg': customMsg.replace ( '"', '\\"' ),
/plugin/catlist/
H A Dscript.js39 ….replace(/[^a-zA-Z0-9._:%-]+/g, catlist_sepchar) // transforms characters not allowed as pagename…
40 ….replace(/%(?![A-Fa-f0-9]{2})/, catlist_sepchar); // replace "%" if it is not the part of an URL e…
44 .replace(/[\u0300-\u036f]/g, ""); // eliminates diacritics
45 pagename = pagename.replace(/[^a-zA-Z0-9._:-]+/g, catlist_sepchar);
47 … pagename = pagename.replace(/^[._-]+/, "") // eliminates '.', '_' and '-' at the beginning and end
48 .replace(/[._-]+$/, "")
49 ….replace(new RegExp(catlist_sepchar+'{2,}','g'), catlist_sepchar) // squash multiple sepchars into…
54 newPageID = newPageID.replace(/:/g, '/');
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dreplace.test2 "replace" filter
4 {{ "I liké %this% and %that%."|replace({'%this%': "foo", '%that%': "bar"}) }}
5 {{ 'I like single replace operation only %that%'|replace({'%that%' : '%that%1'}) }}
6 {{ 'I like %this% and %that%.'|replace(traversable) }}
11 I like single replace operation only %that%1
/plugin/wysiwyg/fckeditor/editor/_source/internals/
H A Dfckcodeformatter.js62 var sFormatted = html.replace( this.Regex.ProtectedTags, FCKCodeFormatter._ProtectData ) ;
65 sFormatted = sFormatted.replace( this.Regex.BlocksOpener, '\n$&' ) ;
66 sFormatted = sFormatted.replace( this.Regex.BlocksCloser, '$&\n' ) ;
67 sFormatted = sFormatted.replace( this.Regex.NewLineTags, '$&\n' ) ;
68 sFormatted = sFormatted.replace( this.Regex.MainTags, '\n$&\n' ) ;
84 sIndentation = sIndentation.replace( this.Regex.FormatIndentatorRemove, '' ) ;
96 …sFormatted = sFormatted.replace( oRegex, FCKCodeFormatter.ProtectedData[j].replace( /\$/g, '$$$$' …
/plugin/fckg/fckeditor/editor/plugins/geshi/
H A Dfckplugin.js193 return a.replace(/ +/g, " ")
194 .replace(/[\t]+/gm, "")
195 .replace(/[ ]+$/gm, "")
196 .replace(/^[ ]+/gm, "")
197 .replace(/\n+/g, "\n")
198 .replace(/\n+$/, "")
199 .replace(/^\n+/, "")
200 .replace(/\nNEWLINE\n/g, "\n\n")
201 .replace(/NEWLINE\n/g, "\n\n"); // IE
249 .replace(/\t/g, " ")
[all …]
/plugin/revealjs/plugin/markdown/
H A Dmarked.js6replace("label",k._label).replace("title",k._title).getRegex(),k.bullet=/(?:[*+-]|\d{1,9}\.)/,k.it…
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/test/
H A Drouter.js14 this.replace(href);
21 replace: function(href) {
281 location.replace = function(href) { function
393 location.replace('http://example.com#foo');
580 location.replace('http://example.com/');
595 location.replace('http://example.com/');
616 location.replace = function(url) {
753 location.replace('http://example.com/');
829 location.replace('http://example.com/');
951 location.replace = function(url) {
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Compute/
H A DHttpHeaderOption.php33 public $replace; variable in Google\\Service\\Compute\\HttpHeaderOption
66 public function setReplace($replace) argument
68 $this->replace = $replace;
75 return $this->replace;
/plugin/code3/src/
H A Dpsyhi.js41 return (document.location.href.match(/(.*[\/\\])/)[0]+m[1]).replace(/^\/+/,"");
94 return str.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
136 txt = txt.replace('{LNG_'+i.toUpperCase()+'}',s[i]);
149 return txt.replace("{TOOLBAR}", s.join("&nbsp;"));
175 tc.innerHTML = strings.interface.replace("{STRINGS}",s.join("")).replace("{ID}",id)
176 ….replace('{TOKENCOUNT}',s.tokenCount).replace('{SRCLENGTH}', Math.round(txt.length/10.24)/100+'Kb'…
181 … el_1.childNodes[1].value = txt.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&");
228 ?el.className.replace(/(^|\s)noLineNumbers(\s|$)/,"")
239 el.className = cn.replace(/(^|\s)show(ColorText|Copy)(\s|$)/g," showPlainText");
241 el.className = cn.replace(/(^|\s)show(PlainText|Copy)(\s|$)/g," showColorText");
[all …]
/plugin/pagetemplater/
H A Daction.php47 $replace = $INFO['meta']['templater'];
48 unset($replace['page']);
49 $replace['content'] = $event->data;
50 $replace['page'] = $ID;
51 $replace['namespace'] = getNS($ID);
54 foreach (array_keys($replace) as $key) {
58 $replace[$key] = p_render('xhtml', p_get_instructions($replace[$key]),$info);
60 $new = str_replace('@@' . strtoupper(trim($rkey)) . '@@', $replace[$key], $template);
61 …w = str_replace(urlencode('@@') . strtoupper(trim($rkey)) . urlencode('@@'), $replace[$key], $new);

12345678910>>...39