Compile the version split pattern.

It's usually considered a best practice even if it's not a hot spot.