defvalidate(self,args:Sequence[Any]):"""Validate that embedded args match custom regexps. Initial validation is done already when matching keywords, but this validation makes sure arguments match also if they are given as variables. Currently, argument not matching only causes a deprecation warning, but that will be changed to ``ValueError`` in RF 8.0: https://github.com/robotframework/robotframework/issues/4069 """ifnotself.custom_patterns:returnforname,valueinzip(self.args,args):ifnameinself.custom_patternsandisinstance(value,str):pattern=self.custom_patterns[name]ifnotre.fullmatch(pattern,value):# TODO: Change to `raise ValueError(...)` in RF 8.0.context=EXECUTION_CONTEXTS.currentcontext.warn(f"Embedded argument '{name}' got value {value!r} "f"that does not match custom pattern {pattern!r}. "f"The argument is still accepted, but this behavior "f"will change in Robot Framework 8.0.")