Checks if the regular expresssion matches the object name passed.
Immediately returns true if FilterRegex is null to improve performance if no filter e.g. '*' is needed.
- p_ObjectName (String)
- the object name
true, if the object name matches the filter property, false if it does not match