Reject strings containing '?' as not being IP masks.