From: Marcin Borkowski <mbork@mbork.pl>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Strange re-search-forward
Date: Wed, 24 Feb 2016 10:08:32 +0100 [thread overview]
Message-ID: <871t828ohb.fsf@mbork.pl> (raw)
In-Reply-To: <56CD697B.9090501@easy-emacs.de>
On 2016-02-24, at 09:27, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:
> Evaluating in buffer
>
> (re-search-forward "[ -?]+" nil t)
>
> foo.bar baz
>
> ;;;;;;;
>
> matches the period after foo.
>
> Any explanation?
space: ascii 32
period: ascii 46
question mark: ascii 63
46 ∈ {32,...,63}
so what's wrong?
> Thanks,
>
> Andreas
> GNU Emacs 25.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-01-31
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
next prev parent reply other threads:[~2016-02-24 9:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 8:27 Strange re-search-forward Andreas Röhler
2016-02-24 9:08 ` Marcin Borkowski [this message]
2016-02-24 9:18 ` Andreas Röhler
2016-02-24 9:52 ` Marcin Borkowski
2016-02-24 16:45 ` Nick Dokos
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=871t828ohb.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
/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).