|
From: | Lennart Borgman (gmail) |
Subject: | Re: rx or trouble |
Date: | Wed, 11 Jun 2008 00:11:05 +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 |
Lennart Borgman (gmail) wrote:
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)
Sorry for the noise. I found it - I forgot to group the part that should match "C-d".
[Prev in Thread] | Current Thread | [Next in Thread] |