[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Invalid regular expression" in visual-basic-mode.el
From: |
Mathias Dahl |
Subject: |
Re: "Invalid regular expression" in visual-basic-mode.el |
Date: |
17 Sep 2004 09:50:16 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Mathias Dahl <brakjoller@hotmail.com> writes:
> I am testing Emacs CVS on Windows XP (fetched from the
> nqemacs-project) and get errors in visual-basic-mode that I
> did not get in 21.3. I have turned on debug-on-error and the
> problem is with the following code:
>
> (looking-at "^.*\\_[ ]*$")
>
> If you evaluate the above you will get the error mentioned
> in the subject line.
>
> Is this a bug in Emacs or in visual-basic-mode.el? I know a
> bit of regexp myself and the example above seems valid to me.
I solved my problem temporarily by changing the expression
to this:
(defconst visual-basic-continuation-regexp "^.*_[ \t]*$")
That extra backslash did not seem to make sense.
But still, is it really invalid?
/Mathias