switched to a much simpler way of checking that a revision is valid
better name for valid revision chars string