Home
last modified time | relevance | path

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

12345678910>>...48

/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/diagramsnet/lib/js/diagramly/
H A DDevel.js76 replace(/%style-src%/g, 'https://devhost.jgraph.com').
77 replace(/%frame-src%/g, '').
78 replace(/ /g, ' ');
86 replace(/%connect-src%/g, 'https://*.dropboxapi.com https://api.trello.com').
87 replace(/%frame-src%/g, '').
88 replace(/%style-src%/g, '').
92 var se_diagrams_net = hashes.replace(/%script-src%/g, '') +
111 replace(/%connect-src%/g, '').
112 replace(/ /g, ' ');
116 replace(/%frame-src%/g, 'blob:').
[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/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/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/catlist/
H A Dscript.js39 .replace(/[^a-zA-Z0-9._:%-]+/g, catlist_sepchar) // transforms characters not allowed as pagename in `catlist_sepchar`
40 .replace(/%(?![A-Fa-f0-9]{2})/, catlist_sepchar); // replace "%" if it is not the part of an URL encoded character
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 one
54 newPageID = newPageID.replace(/:/g, '/');
/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/markdownextra/lib/meltdown/js/lib/
H A Djs-markdown-extra.js235 return target.replace(
242 return target.replace(
248 return str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
509 text = text.replace(new RegExp(
676 text = text.replace(new RegExp(
701 cheatText = text.replace(/[^\(^\)^\[^\]^\s]/gm, '').replace(/\(.*?\)/,'()');
703 text = text.replace(new RegExp(
773 cheatText = text.replace(/[^!^\[^\]^\n^\s]/gm, '').replace(/\[\s*\]/g, '[]');
775 text = text.replace(new RegExp(
824 cheatText = text.replace(/[^!^\(^\)^\[^\]^\n^\s]/gm, '').replace(/\[\s*\]/g, '[]');
[all …]
/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/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

12345678910>>...48