adminActivityLog: crashes if the version number includes a non-number

for #2220 
Add a comment to explain the meaning of the regular expression. The reader may not know regular expressions.