From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: AngusC <anguscomber@gmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: regex with [_A-Z] not working as I expect
Date: Thu, 10 May 2012 19:15:01 +0200 [thread overview]
Message-ID: <69641436-ECB6-4384-BBFD-0BF1AFB7D8D5@Web.DE> (raw)
In-Reply-To: <33763671.post@talk.nabble.com>
Am 10.05.2012 um 12:28 schrieb AngusC:
> But if my regex search string is
> ^1, Passed,0,[_A-Za-z0-9]
>
> Then it only finds text up to 1, Passed,0,Q
That is correct behaviour! It finds exactly one character of the given set. If you want to find more, you need to add a + for example.
--
Greetings
Pete
I hope to die before I *have* to use Microsoft Word.
- Donald E. Knuth, 2001-10-02 in Tübingen
prev parent reply other threads:[~2012-05-10 17:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 10:28 regex with [_A-Z] not working as I expect AngusC
2012-05-10 17:13 ` "Jérôme M. Berger"
2012-05-10 17:15 ` Peter Dyballa [this message]
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=69641436-ECB6-4384-BBFD-0BF1AFB7D8D5@Web.DE \
--to=peter_dyballa@web.de \
--cc=Help-gnu-emacs@gnu.org \
--cc=anguscomber@gmail.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).