Function: isearch-symbol-regexp

Return a regexp which matches STRING as a symbol.
Creates a regexp where STRING is surrounded by symbol delimiters \_< and \_>.
If LAX is non-nil, the end of the string need not match a symbol boundary.