From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: "Invalid regular expression" in visual-basic-mode.el
Date: Fri, 17 Sep 2004 17:45:10 -0600 [thread overview]
Message-ID: <414B7706.3000402@yahoo.com> (raw)
In-Reply-To: upt4ljpvr.fsf@hotmail.com
Mathias Dahl wrote:
> 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?
\_ (backslash-underscore ) is not a defined regexp construct. In the
past it was treated as a 2-character sequence; apparently now that
should be represented as "\\\\_".
--
Kevin Rodgers
next prev parent reply other threads:[~2004-09-17 23:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-17 7:45 "Invalid regular expression" in visual-basic-mode.el Mathias Dahl
2004-09-17 7:50 ` Mathias Dahl
2004-09-17 23:45 ` Kevin Rodgers [this message]
2004-09-20 12:16 ` Mathias Dahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=414B7706.3000402@yahoo.com \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).