it appears regex could be before intent according to the documentation here NLU Training Data
regex
intent