"We are not counting sequences of five apostrophes." comment is wrong.
It was added on r4578, when they stopped being counted, but since r4747 (fixing bug 40) they are counted again.
Clarify what $first variables are.
$arr[$i] = "''''''";
}
# Count the number of occurrences of bold and italics mark-ups.
- # We are not counting sequences of five apostrophes.
if ( strlen( $arr[$i] ) == 2 ) { $numitalics++; }
elseif ( strlen( $arr[$i] ) == 3 ) { $numbold++; }
elseif ( strlen( $arr[$i] ) == 5 ) { $numitalics++; $numbold++; }
$i = 0;
# These are indexes to the /next/ array entry than the
- # one holding the text matching the condition.
+ # one holding the text matching the condition which gives name
+ # to the variable.
$firstsingleletterword = -1;
$firstmultiletterword = -1;
$firstspace = -1;