Skip to content

Instantly share code, notes, and snippets.

@nicferrier
Created June 4, 2013 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicferrier/5704781 to your computer and use it in GitHub Desktop.
Save nicferrier/5704781 to your computer and use it in GitHub Desktop.
(let ((str "in my craft and sullen art"))
(save-match-data
(string-match "\\(in\\) my craft" str))
(let ((str2 (concat "" str)))
(string-match "thing1" str2)
(match-string 1 str2)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment