Function: consult--split-escaped
consult--split-escaped is a natively compiled function defined in
consult.el.
Signature
(consult--split-escaped STR)
Documentation
Split STR at spaces, which can be escaped with backslash.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defun consult--split-escaped (str)
"Split STR at spaces, which can be escaped with backslash."
(mapcar
(lambda (x) (string-replace "\0" " " x))
(split-string (replace-regexp-in-string
"\\\\\\\\\\|\\\\ "
(lambda (x) (if (equal x "\\ ") "\0" x))
str 'fixedcase 'literal)
" +" t)))