Adds version regexp checking