The behavior search doesn't only search URLs.  The implementation is to match if the substring appears in either URL field (case-insensitively) or if the string matches exactly against the API name.