|
Message-ID: <20220722020238.GC9838@prometheus.ethernal.org> Date: Fri, 22 Jul 2022 14:02:38 +1200 From: Mike Beattie <mike@...ernal.org> To: musl@...ts.openwall.com Subject: Re: Bug: BOL/EOL anchors in regex capture groups won't match EOL On Thu, Jul 21, 2022 at 06:08:19PM +1200, Mike Beattie wrote: > Removal of "^|" from the beginning of the trailing capture group: > > $ ./r "(^|[,{}() ]|$)300([,{}() ]|$)" "0000 1111 2222" > regex: (^|[,{}() ]|$)300([,{}() ]|$) > regexec on [100 200 300]: Found Please excuse the usage of "0000 1111 2222", that should be "100 200 300", I was testing some much longer complex paths and regexes, but was distilling the content of this report down to be as concise as possible. I'm also not subscribed, please CC me on replies. Mike. -- Mike Beattie <mike@...ernal.org>
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.