File: tip34.html

package info (click to toggle)
jedit 5.1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,632 kB
  • ctags: 10,965
  • sloc: java: 96,611; xml: 92,194; makefile: 55; sh: 30; cpp: 6; python: 6
file content (23 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html><body>
<p>
You can replace all occurrences of a specific string or regular
expression with the return value of a BeanShell script if the
<b>Return value of a BeanShell
snippet</b> radio button is selected in the search dialog box.<p>
</p>
<p>
You can use
this, for example, to convert all tags in an HTML file to lower case, by
searching for the following regular expression:
</p>

<p>
<code>&lt;(.+?)&gt;</code>

<p>
And entering the following in the replace text field:

<p>
<code>"&lt;" + _1.toLowerCase() + "&gt;"</code>

</body></html>