source: trunk/examples/assistant/simpletextviewer/documentation/wildcardmatching.html@ 158

Last change on this file since 158 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 1.6 KB
Line 
1<html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <title>Wildcard Matching</title>
5 </head>
6 <body style="font-size:12pt;font-family:helvetica">
7
8 <p><center><h2>Wildcard Matching</h2></center></p>
9
10 <p>
11 Most command shells such as bash or cmd.exe support "file
12 globbing", the ability to identify a group of files by using
13 wildcards.
14
15 <br />
16 <br />
17 <table align="center" cellpadding="2" cellspacing="1" border="0" width="100%">
18 <tr valign="top" bgcolor="#f0f0f0">
19 <td><center><img src="images/wildcard.png" /></center></td>
20 </tr>
21 </table>
22
23 <br />
24 <br />
25 <p>
26 Wildcard matching provides four features:
27 </p>
28
29 <ul>
30 <li>Any character represents itself apart from those
31 mentioned below. Thus 'c' matches the character 'c'.
32 </li>
33 <li>The '?' character matches any single character.</li>
34 <li>The '*' matches zero or more of any characters.</li>
35 <li>Sets of characters can be represented in square brackets.
36 Within the character class, like outside, backslash
37 has no special meaning.
38 </li>
39 </ul>
40
41 <p>
42 For example we could identify HTML files with
43 <code>*.html</code>. This will match zero or more characters
44 followed by a dot followed by 'h', 't', 'm' and 'l'.
45 </p>
46
47 <br />
48 <br />
49 <p>
50 See also: <a href="browse.html">Browse</a>, <a href="filedialog.html">File Dialog</a>,
51 <a href="findfile.html">Find File</a>
52 </p>
53 </body>
54</html>
55
56
57
Note: See TracBrowser for help on using the repository browser.