This commit is contained in:
jzmaddock
2013-12-14 17:42:13 +00:00
parent 7c7f38b009
commit e5bbcac3da
102 changed files with 214 additions and 187 deletions

View File

@ -43,8 +43,8 @@ only the first occurrence is replaced rather than all occurrences.
Formatter fmt,
match_flag_type flags = match_default);
Enumerates all the occurences of expression /e/ in the sequence \[first, last),
replacing each occurence with the string that results by merging the
Enumerates all the occurrences of expression /e/ in the sequence \[first, last),
replacing each occurrence with the string that results by merging the
match found with the format string /fmt/, and copies the resulting string to /out/.
In the case that /fmt/ is a unary, binary or ternary function object, then the
character sequence generated by that object is copied unchanged to the output when performing
@ -54,9 +54,9 @@ If the flag `format_no_copy` is set in /flags/ then unmatched sections of
text are not copied to output.
If the flag `format_first_only` is set in flags then only the first
occurence of /e/ is replaced.
occurrence of /e/ is replaced.
The manner in which the format string /fmt/ is interpretted, along with the
The manner in which the format string /fmt/ is interpreted, along with the
rules used for finding matches, are determined by the flags set in /flags/:
see [match_flag_type].
@ -251,7 +251,7 @@ syntax highlighted HTML code.
const char* header_text =
"<HTML>\n<HEAD>\n"
"<TITLE>Auto-generated html formated source</TITLE>\n"
"<TITLE>Auto-generated html formatted source</TITLE>\n"
"<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=windows-1252\">\n"
"</HEAD>\n"
"<BODY LINK=\"#0000ff\" VLINK=\"#800080\" BGCOLOR=\"#ffffff\">\n"