return when regexp match