From: Paul Eggert <eggert@cs.ucla.edu>
To: Arnold Robbins <arnold@skeeve.com>, bug-gnulib@gnu.org
Subject: Re: possible bug in regex and dfa
Date: Fri, 16 Jul 2021 21:58:56 -0500 [thread overview]
Message-ID: <85ef7fe3-c793-f082-3df1-3011fd8d0966@cs.ucla.edu> (raw)
In-Reply-To: <E1m46P6-0003HR-E3@tanda>
On 7/15/21 1:48 PM, Arnold Robbins wrote:
> The regexp used there, ".^", to my mind should be treated as invalid.
No, that regular expression is valid because "." matches newline in
POSIX EREs. So the "." matches a newline, and the following "^" matches
the start of the next line.
next prev parent reply other threads:[~2021-07-17 2:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-15 18:48 possible bug in regex and dfa Arnold Robbins
2021-07-17 2:58 ` Paul Eggert [this message]
2021-07-18 9:01 ` Bruno Haible
2021-07-18 12:56 ` arnold
2021-07-18 16:09 ` Bruno Haible
2021-07-18 18:59 ` arnold
2021-07-18 21:45 ` regex unit tests Bruno Haible
2021-07-18 19:30 ` possible bug in regex and dfa arnold
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://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85ef7fe3-c793-f082-3df1-3011fd8d0966@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=arnold@skeeve.com \
--cc=bug-gnulib@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).