From: David Hansen <david.hansen@gmx.net>
Subject: Re: How do I get a ] into a reg exp?
Date: Wed, 13 Sep 2006 22:16:06 +0200 [thread overview]
Message-ID: <87d59zmsjd.fsf@robotron.kosmorama> (raw)
In-Reply-To: 45085FF6.5080403@student.lu.se
On Wed, 13 Sep 2006 21:45:58 +0200 Lennart Borgman wrote:
> How do I write
>
> (re-search-forward "[a-z\]]")
"[][]" looks odd but works for me. But IMHO that should be "[\\[\\]]".
David
next prev parent reply other threads:[~2006-09-13 20:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-13 19:45 How do I get a ] into a reg exp? Lennart Borgman
2006-09-13 20:16 ` David Hansen [this message]
2006-09-13 20:26 ` David Kastrup
2006-09-13 20:21 ` David Kastrup
2006-09-13 21:31 ` Lennart Borgman
2006-09-13 21:35 ` Drew Adams
2006-09-13 21:42 ` Lennart Borgman
2006-09-13 21:48 ` Lennart Borgman
2006-09-13 22:07 ` David Kastrup
2006-09-13 22:10 ` Drew Adams
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=87d59zmsjd.fsf@robotron.kosmorama \
--to=david.hansen@gmx.net \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).