Fixed regular expression for reflection method