On Thu, Jan 21, 2016 at 5:36 AM, Rainer Jung <rainer.j...@kippdata.de> wrote: > Am 21.01.2016 um 01:33 schrieb Yann Ylavic: >> >> "^ssl_log_(|r|c)xerror$" => "^ssl_log_(r|c)?xerror$"? >> Or is it some special coccinelle regex syntax? > > > I have chosen the same regexp style as higher above in the same file. > "(|r|c) means either empty, or "r" or "c". So it results in the same matches > like your proposed solution. Nothing coccinelle specific.
Huh, right, the empty match... So my first report did accidentally mean something :)