Function: rng-uri-unescape-unibyte-match

rng-uri-unescape-unibyte-match is a byte-compiled function defined in rng-uri.el.gz.

Signature

(rng-uri-unescape-unibyte-match STR)

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/rng-uri.el.gz
(defun rng-uri-unescape-unibyte-match (str)
  (replace-regexp-in-string "%[0-7][[:xdigit:]]\\|[^%]"
			    (lambda (match)
			      (if (string= match "*")
				  "\\([^/]*\\)"
				(regexp-quote
				 (if (= (length match) 1)
				     match
				   (string (string-to-number (substring match 1)
                                                             16))))))
			    str
			    t
			    t))