Function: org-unescape-code-in-string

org-unescape-code-in-string is a byte-compiled function defined in org-src.el.gz.

Signature

(org-unescape-code-in-string S)

Documentation

Un-escape lines in string S.

Un-escaping happens by removing the first comma on lines starting with ",*", ",#+", ",,*" and ",,#+".

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-src.el.gz
(defun org-unescape-code-in-string (s)
  "Un-escape lines in string S.
Un-escaping happens by removing the first comma on lines starting
with \",*\", \",#+\", \",,*\" and \",,#+\"."
  (replace-regexp-in-string
   "^[ \t]*,*\\(,\\)\\(?:\\*\\|#\\+\\)" "" s nil nil 1))