fixed return formatting, Discover Regexp and Unknown return