From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.tuxteam.de (mail.tuxteam.de [5.199.139.25]) by sourceware.org (Postfix) with ESMTPS id C080E3858024 for ; Mon, 17 May 2021 14:18:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C080E3858024 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tuxteam.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tomas@tuxteam.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=wc0pBstTokvtp3zE+MSbi7wY+cJypAhYXYSsVKjH/QU=; b=dJ4WT91kYSkraIfWyPa/f40lNwIYF7Vf9IWjuPsCpsWVFKQQ6INBtOe+oYLfMYhJksXwtCHjnWvmbl8bOa4K/8mG7IcMrPo7S8b/tspbGLmnwo8FsXnPSo23EVC+XtyPOcUWuLzECXyYVNRzo8OcXXZWkmrI/RWPW3Xsc/NlXToY1NWGtAzBfnoSQwKyRh237w9lVtc/qf7QGaJekCdft6SSJsA31CzQn6Pt46OgZ41Cd71sXMPNs05UYDTsyzPWvzpDAsweJX6kAGzRvs1tki+o4K9+9b0AUIZPU5URVXRX4ACPtlpEDZCIedrGUokyj2aElVEpRSeZlKaZSFQ5rA==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1lie4d-0008EZ-Ba; Mon, 17 May 2021 16:18:23 +0200 Date: Mon, 17 May 2021 16:18:23 +0200 To: Peng Yu Cc: libc-help@sourceware.org Subject: Re: Does regex.h support lookahead? Message-ID: <20210517141823.GB28288@tuxteam.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="98e8jtXdkpgskNou" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2021 14:18:26 -0000 --98e8jtXdkpgskNou Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2021 at 08:42:11AM -0500, Peng Yu via Libc-help wrote: > Hi, >=20 > It seems that regex.h does not support lookahead. Is it so? Thanks. You mean those "look ahead" i.e. (?=3D...) viz. (?!...) and "look behind", i.e. (?<=3D...) viz. (?