fixed spelling

This commit is contained in:
Lars Kühne 2008-05-23 20:58:56 +00:00
parent 9531dbd640
commit dc554dea8a
1 changed files with 3 additions and 3 deletions

View File

@ -270,12 +270,12 @@ line 14: ^ \*/
</p>
<p>
Different programming languages have different comment synatx rules, but all of them
Different programming languages have different comment syntax rules, but all of them
start a comment with a non-word character. Hence you can often use the non-word character
class to abstract away the concrete comment syntax and allow checking the header for
different languages with a single header definition.
For example, consider the following header specification (note that this is not
the full Apache licence header):
the full Apache license header):
</p>
<source>
line 1: ^#!
@ -291,7 +291,7 @@ line 6: ^\W*$
Unix shell scripts, or the xml file header of XML files.
Set the multiline property to "1, 2" so these lines can be ignored for file types
where they do no apply.
Lines 3 throgh 6 define the actual header content. Note how lines 2, 4 and 5 use escapes
Lines 3 through 6 define the actual header content. Note how lines 2, 4 and 5 use escapes
for characters that have special regexp semantics.
</p>
</subsection>