Fixing regex parsing pg version.