fix regexp for tag version