Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 18 Apr 2020 12:28:42 +0200
From: Florian Weimer <fw@...eb.enyo.de>
To: "liheng \(P\)" <liheng40@...wei.com>
Cc: Rich Felker <dalias@...c.org>,  musl@...ts.openwall.com,  "Xiangrui \(Euler\)" <rui.xiang@...wei.com>,  Lizefan <lizefan@...wei.com>
Subject: Re: regex Back reference matching result not same as glibc and tre.

* liheng:

> static const char pat[] = "(.?).?\\1";

> This commit reminds me that if i want to use back reference i should
> not to tag REG_EXTENDED, but this test case matching still failed.


Did you change the expression to this for the basic regular expression
test?

static const char pat[] = "\\(.?\\).?\\1";

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.