Another correction due to variables starting with 1, not 0.
Editorial.
Corrections (false and superfluous regular expressions, missing initialisations.