unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Strange re-search-forward
Date: Wed, 24 Feb 2016 09:27:39 +0100	[thread overview]
Message-ID: <56CD697B.9090501@easy-emacs.de> (raw)

Evaluating in buffer

(re-search-forward "[ -?]+" nil t)

foo.bar baz

;;;;;;;

matches the period after foo.

Any explanation?

Thanks,

Andreas
GNU Emacs 25.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-01-31



             reply	other threads:[~2016-02-24  8:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24  8:27 Andreas Röhler [this message]
2016-02-24  9:08 ` Strange re-search-forward Marcin Borkowski
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=56CD697B.9090501@easy-emacs.de \
    --to=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).