From: <tomas@tuxteam.de>
To: Peng Yu <pengyu.ut@gmail.com>
Cc: libc-help@sourceware.org
Subject: Re: Does regex.h support lookahead?
Date: Mon, 17 May 2021 16:18:23 +0200 [thread overview]
Message-ID: <20210517141823.GB28288@tuxteam.de> (raw)
In-Reply-To: <CABrM6wnfvpuMERa+Vjcp5X=Jjof=Y-wMYUUJj=5SrM_PgLCmyA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
On Mon, May 17, 2021 at 08:42:11AM -0500, Peng Yu via Libc-help wrote:
> Hi,
>
> It seems that regex.h does not support lookahead. Is it so? Thanks.
You mean those "look ahead" i.e. (?=...) viz. (?!...) and "look behind",
i.e. (?<=...) viz. (?<!...) assertions of PCRE?
As far as I know, no. Regex.h supports exactly POSIX (extended) regular
expressions.
Cheers
- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2021-05-17 14:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 13:42 Peng Yu
2021-05-17 14:18 ` tomas [this message]
2021-05-18 16:00 ` Ian Pilcher
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=20210517141823.GB28288@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=libc-help@sourceware.org \
--cc=pengyu.ut@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).