JavaScript Editor Ajax software     Free javascripts 



Main Page

Figure A-1
The default behavior of OpenOffice.org Writer is to carry out a case-insensitive match. As you can see in
Figure A-1, the Match Case check box is checked so that only the same case as specified in the regular
expression is matched.
For each character in the document, OpenOffice.org Writer checks whether that character is an upper-
case
L
. If it is, the regular expression pattern is matched. In OpenOffice.org Writer, a match is indicated
by highlighting of the character(s) — in this case, a single character — for each match, assuming that
the Find All button has been clicked.
How can you match a single character using JavaScript?
313
Appendix A: Simple Regular Expressions
bapp01.qxd:bapp01 10:47 313


JavaScript Editor Ajax software     Free javascripts