The caret ("
^") in your regex means that the pattern is
anchored at the beginning of the string, so if your
v09.11-e020 string can be found anywhere in the paragraph, this regex will only match if it is at the very beginning of the paragraph. You probably want to drop the caret.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James