help-gnu-emacs
[Top][All Lists]
Advanced

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

rx or trouble


From: Lennart Borgman (gmail)
Subject: rx or trouble
Date: Tue, 10 Jun 2008 23:44:16 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

I thought this should match "ESC" or "C-d" for example. It only matches "ESC". Can someone see why?

    (rx space
        (or
         (1+
          (or "C-" "M-" "S-"))
         (any "+a-zA-Z0-9~<>!;,:.'\"%/?(){}$^0|-")
         "ESC")
        space)

This on the other hand matches "C-d":

    (rx space
        (1+
         (or "C-" "M-" "S-"))
        (any "+a-zA-Z0-9~<>!;,:.'\"%/?(){}$^0|-")
        space)




reply via email to

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