From: Andreas Schwab <schwab@suse.de>
To: Michal Nazarewicz <mina86@mina86.com>
Cc: 24020@debbugs.gnu.org
Subject: bug#24020: [PATCHv2] Fix ‘[[:word:]]*\u2620’ failing to match ‘foo\u2620’ (bug#24020)
Date: Tue, 19 Jul 2016 10:00:46 +0200 [thread overview]
Message-ID: <mvmfur683bl.fsf@hawking.suse.de> (raw)
In-Reply-To: <1468884601-31164-1-git-send-email-mina86@mina86.com> (Michal Nazarewicz's message of "Tue, 19 Jul 2016 01:30:01 +0200")
Michal Nazarewicz <mina86@mina86.com> writes:
> For example, take regular expression ‘[[:alpha:]]*1’ trying to match
> a string ‘foo’. Since the Kleene star is greedy, the engine will test
> the shortest match for ‘[[:alpha:]]*’ which is ‘foo’. At this point
Did you mean "the longest match"?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2016-07-19 8:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-18 14:04 bug#24020: [PATCH] Fix ‘[[:word:]]*\u2620’ failing to match ‘foo\u2620’ Michal Nazarewicz
2016-07-18 15:03 ` Eli Zaretskii
2016-07-18 18:07 ` Michal Nazarewicz
2016-07-18 23:30 ` bug#24020: [PATCHv2] Fix ‘[[:word:]]*\u2620’ failing to match ‘foo\u2620’ (bug#24020) Michal Nazarewicz
2016-07-19 8:00 ` Andreas Schwab [this message]
2016-07-20 12:36 ` Michal Nazarewicz
2016-07-25 21:54 ` Michal Nazarewicz
2016-07-27 16:22 ` bug#24020: [PATCH] Fix ‘is multibyte’ test regex.c’s mutually_exclusive_p (bug#24020) Michal Nazarewicz
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mvmfur683bl.fsf@hawking.suse.de \
--to=schwab@suse.de \
--cc=24020@debbugs.gnu.org \
--cc=mina86@mina86.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.