Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: arnold@freefriends.org (Aharon Robbins) Newsgroups: comp.compilers Subject: Re: irregular expressions, syntax complexity Date: 22 Feb 2023 08:53:05 GMT Organization: non Sender: johnl@iecc.com Approved: comp.compilers@iecc.com Message-ID: <23-02-060@comp.compilers> References: <23-02-052@comp.compilers> <23-02-053@comp.compilers> <23-02-055@comp.compilers> Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="75714"; mail-complaints-to="abuse@iecc.com" Keywords: syntax, lex Posted-Date: 22 Feb 2023 11:58:01 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Originator: arnold@freefriends.org (Aharon Robbins) Xref: csiph.com comp.compilers:3399 In article <23-02-055@comp.compilers>, Anton Ertl wrote: >Regular expression syntax is missing an operator that signifies the >intersection of the sets recognized by the operand regexps. Let's >call this operator "&". .... > >Has anybody implemented such an operator at all? Doug McIlroy did, if I understand things correctly. See https://github.com/arnoldrobbins/mcilroy-regex/blob/master/README for more info. Arnold