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 <>
To: "liheng \(P\)" <>
Cc: Rich Felker <>,,  "Xiangrui \(Euler\)" <>,  Lizefan <>
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

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.