Debian Codegraph @

docs/manual/Regular_expressions_5__Special_control_characters.html

raw
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Regular expressions 5. Special control characters</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 Regular expressions 5. Special control characters
13 </b></font></table></table>
14 <p>Special control characters in a <a href="Regular_expressions.html">regular expression</a> specify characters that are difficult to type.</p>
15 <dl>
16 <dt><b></b>\a alert (bell).
17 <dt><b></b>\b backspace.
18 <dt><b></b>\e ASCII escape character.
19 <dt><b></b>\f form feed (new page).
20 <dt><b></b>\n newline.
21 <dt><b></b>\r carriage return.
22 <dd>&nbsp;&nbsp;&nbsp;Example : a search for "\r\n" followed by a replace "\r" changes Windows text files to Macintosh text files.</dd>
23 <dd>&nbsp;&nbsp;&nbsp;Example : a search for "\r" followed by a replace "\n" changes Macintosh text files to Unix text files.</dd>
24 <dd>&nbsp;&nbsp;&nbsp;Example : a search for "\r\n" followed by a replace "\n" changes Windows text files to Unix text files.</dd>
25 <dt><b></b>\t horizontal tab.
26 <dt><b></b>\v vertical tab.
27 </dl>
28 <h3>Links to this page</h3>
29 <ul>
30 <li><a href="Regular_expressions_1__Special_characters.html">Regular expressions 1. Special characters</a>
31 <li><a href="Regular_expressions_8__Substitution_special_characters.html">Regular expressions 8. Substitution special characters</a>
32 </ul>
33 <hr>
34 <address>
35 <p>© djmw 20010708</p>
36 </address>
37 </body>
38 </html>