emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

string-match and match-string


From: Lennart Borgman (gmail)
Subject: string-match and match-string
Date: Sat, 03 Nov 2007 12:46:01 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

I get an error when doing things like these:

  (when (string-match "\\(some\\)" "<something>")
    (match-string 1))

  (when (string-match "<.*>" "<something>")
    (match-string 0))

Should not match-string work here?

Note: I am still using a CVS Emacs from June 2007.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]