Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
About coding in Dreamweaver
555
Some servers are configured to examine all files to see if they contain server-side includes; 
other servers are configured to examine only files with a particular file extension, such as 
.shtml, .shtm, or .inc. If a server-side include isn’t working for you, ask your system 
administrator if you need to use a special extension in the name of the file that uses the 
include. (For example, if the file is named canoe.html, you may have to rename it to 
canoe.shtml.) If you want your files to retain .html or .htm extensions, ask your system 
administrator to configure the server to examine all files (not just files with a certain 
extension) for server-side includes. Parsing a file for server-side includes takes a little extra 
time, so pages that the server parses are served a little more slowly than other pages; therefore, 
some system administrators won’t provide the option of parsing all files.
Related topics
Regular expressions
Regular expressions are patterns that describe character combinations in text. Use them in 
your code searches to help describe concepts such as “lines that begin with ‘var’” and 
“attribute values that contain a number.” For more information on searching, see 
The following table lists the special characters in regular expressions, their meanings, and 
usage examples. To search for text containing one of the special characters in the table, 
“escape” the special character by preceding it with a backslash. For example, to search for the 
actual asterisk in the phrase 
some conditions apply*
, your search pattern might look like 
this: apply\*. If you don’t escape the asterisk, you’ll find all the occurrences of “apply” (as well 
as any of “appl”, “applyy”, and “applyyy”), not just the ones followed by an asterisk.
Character
Matches
Example
^
Beginning of input or line.
^T
 matches “T” in “This good earth” 
but not in “Uncle Tom’s Cabin”
$
End of input or line.
h$
 matches “h” in “teach” but not in 
“teacher”
*
The preceding character 0 or 
more times.
um*
 matches “um” in “rum”, “umm” in 
“yummy”, and “u” in “huge”
+
The preceding character 1 or 
more times.
um+
 matches “um” in “rum” and 
“umm” in “yummy” but nothing in 
“huge”