Function: search

search is a function alias for cl-search, defined in cl-seq.el.gz.

This function is obsolete since 27.1; use cl-search instead.

Signature

(search SEQ1 SEQ2 [KEYWORD VALUE]...)

Documentation

Search for SEQ1 as a subsequence of SEQ2.

Return the index of the leftmost element of the first match found; return nil if there are no matches.

Keywords supported: :test :test-not :key :start1 :end1 :start2 :end2 :from-end

Probably introduced at or before Emacs version 18.

Aliases

search (obsolete since 27.1)