source: trunk/gli/help/10-1.htm@ 4484

Last change on this file since 4484 was 4293, checked in by jmt12, 21 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 7.0 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<title>The Gatherer - Help Pages</title>
5</head>
6<body bgcolor="#E0F0E0" link="#000000" vlink="#000000">
7<table border="2" bgcolor="#B0D0B0" cellpadding="5" cellspacing="0" width="100%">
8 <tr>
9 <td align="center" width="15%">
10 <img height="45" src="gatherer_medium.gif" width="45">
11 </td>
12 <td align="center" width="*">
13 <font face="Verdana" size="5">
14 <strong>
1510.1 Search And Replace
16 </strong>
17 </font>
18 </td>
19 <td align="center" width="15%">
20 <img height="45" src="gatherer_medium.gif" width="45">
21 </td>
22 </tr>
23 <tr bgcolor="#E0F0E0">
24 <td colspan="3" width="100%">
25 <font face="Verdana" size="3">
26<p style="text-align:justify">
27This section explains the search and replace functionality of the Librarian Interface.
28</p>
29
30 </font>
31 </td>
32 </tr>
33 <tr bgcolor="#E0F0E0">
34 <td align="center" colspan="3" width="100%">
35 <table border="2" cellpadding="2" width="480" bgcolor="#B0D0B0">
36 <tr>
37 <td align="center">
38 <font face="Verdana" size="4">
39 <strong>
40 Contents
41 </strong>
42 </font>
43 </td>
44 </tr>
45 <tr>
46 <td>
47 <table background="gatherer.gif" bgcolor="#FFFFFF" border="0" cellpadding="2" width="100%">
48 <tr>
49 <td colspan="3">
50 <font face="Verdana" size="4">
51 <strong>
52<a href="#SI">Simple instructions</a>
53 </strong>
54 </a>
55 </font>
56 </td>
57 </tr>
58 <tr>
59 <td>
60 &nbsp;
61 </td>
62 <td colspan="2">
63 <font face="Verdana" size="4">
64Search and replace
65 </font>
66 </a>
67 </td>
68 </tr>
69 <tr>
70 <td colspan="3">
71 <font face="Verdana" size="4">
72 <strong>
73<a href="#AI">Advanced instructions</a>
74 </strong>
75 </a>
76 </font>
77 </td>
78 </tr>
79 <tr>
80 <td>
81 &nbsp;
82 </td>
83 <td colspan="2">
84 <font face="Verdana" size="4">
85Match case
86 </font>
87 </a>
88 </td>
89 </tr>
90 <tr>
91 <td>
92 &nbsp;
93 </td>
94 <td colspan="2">
95 <font face="Verdana" size="4">
96Regular expressions
97 </font>
98 </a>
99 </td>
100 </tr>
101 <tr>
102 <td>
103 &nbsp;
104 </td>
105 <td colspan="2">
106 <font face="Verdana" size="4">
107Search space
108 </font>
109 </a>
110 </td>
111 </tr>
112 </font>
113 </table>
114 </td>
115 </tr>
116 </table>
117 </td>
118 </tr>
119 <tr bgcolor="#E0F0E0">
120 <td colspan="3" width="100%">
121 <img height="20" src="gatherer_small.gif" width="20">
122 <font face="Verdana" size="4">
123 <u>
124<a name="SI">Simple Instructions:</a>
125 </u>
126 <font size="3">
127<p style="text-align:justify">
128It becomes tedious to correct a spelling mistake in an metadata value one occurrence at time. Consequently the Librarian Interface includes a search and replace feature that allows text to be modified over the entire breadth of a collection. To search, click on the menu item [E]dit -> [S]earch, and to replace choose [E]dit- >Search and [R]eplace. Both prompts are essentially the same, but the former has the replace part disabled.
129</p>
130<p style="text-align:justify">
131Type the term that you seek and press [F]ind to begin the search. The first matching text will be shown, in the appropriate view, using highlighting. Furthermore the [F]ind button is disabled and two new buttons become active. Find [N]ext carries on searching from the last match found, while re[S]tart causes the search position to be reset to the start so that pressing the re-enabled find button find the first match again.
132</p>
133<p style="text-align:justify">
134If a replace prompt was chosen, you may type a text string to be substituted for any matches to the search term. When you enter a value in the 'Replace with' field, two new buttons become active. [R]eplace replaces the currently located text with the replacement text. If no text has yet been found, a find operation is run first. Replace [A]ll replaces all occurrences of the search term within the search space. Once you have performed a replace operation, the [U]ndo button becomes active. Clicking this will undo the most recent operation (or operations if you chose replace all). The Re[D]o button redoes something you've just undone. During any of these steps, Re[S]tart works exactly as described above (although the first match returned may not be the same if you have substituted it with replacement text).
135</p>
136<p style="text-align:justify">
137At any time, in either prompt you may click the [C]lose button to hide the dialog prompt.
138</p>
139
140 </font>
141 </p>
142 </td>
143 </tr>
144 <tr bgcolor="#E0F0E0">
145 <td colspan="3" width="100%">
146 <img height="20" src="gatherer_small.gif" width="20">
147 <font face="Verdana" size="4">
148 <u>
149<a name="AI">Advanced Instructions:</a>
150 </u>
151 <font size="3">
152<p style="text-align:justify">
153Below the text fields are several checkboxes that allow you to further customize the search. By default all searches are case insensitive, but you can change this by checking the match case box.
154</p>
155<p style="text-align:justify">
156You can also use regular expressions within the search and replace text fields. Most standard regular expression functionality is supported, including capture groups. For instance you could choose to search for 'Re\(.*\)gees'. This will seek all the 'shortest' text fragments that match 're', followed by any number of characters, followed by 'gees' -- matching 'Refugees', for example. The 'any number of characters' is marked as a capture group (in this case capture group 1) by escaped parentheses. In the replace field you can type '\1\1', which if run would replace 'Refugees' with 'fufu'.
157</p>
158<p style="text-align:justify">
159You can control just what gets searched by checking and unchecking the boxes called metadata elements, filenames and metadata values. Only those that are checked will be searched during a find operation.
160</p>
161
162 </font>
163 </p>
164 </td>
165 </tr>
166</table>
167&nbsp;<br>
168&nbsp;<br>
169&nbsp;<br>
170&nbsp;<br>
171&nbsp;<br>
172&nbsp;<br>
173&nbsp;<br>
174&nbsp;<br>
175&nbsp;<br>
176&nbsp;<br>
177&nbsp;<br>
178&nbsp;<br>
179&nbsp;<br>
180&nbsp;<br>
181&nbsp;<br>
182&nbsp;<br>
183&nbsp;<br>
184&nbsp;<br>
185&nbsp;<br>
186&nbsp;<br>
187&nbsp;<br>
188&nbsp;<br>
189&nbsp;<br>
190&nbsp;<br>
191&nbsp;<br>
192&nbsp;<br>
193&nbsp;<br>
194&nbsp;<br>
195&nbsp;<br>
196&nbsp;<br>
197&nbsp;<br>
198&nbsp;<br>
199</body>
200</html>
Note: See TracBrowser for help on using the repository browser.