Build the version scanner regexp once