Not sure I'm follow that in the context of a regex. If it doesn't match the regex it just fails.