glob is used for pattern matching in text. It works like a regular expression.
If you do a search for ‘selenium glob’ you will find many articles explaining it.
Here is a good one
In your example, if the text in the element
dob-error contains the text ‘required’, then the verify test will pass.