Re: [PATCH] Fix opt-functions.awk in POSIXLY_CORRECT mode (PR other/78766)

2016-12-12 Thread Jakub Jelinek
On Mon, Dec 12, 2016 at 02:15:42PM -0700, Jeff Law wrote: > On 12/12/2016 12:14 PM, Jakub Jelinek wrote: > >{ is a special character in ERE, so gawk rightfully complains in > >POSIXLY_CORRECT mode. The regex is meant to look for { at the beginning > >of line. Neither "^\{" nor "^\\{" works though

Re: [PATCH] Fix opt-functions.awk in POSIXLY_CORRECT mode (PR other/78766)

2016-12-12 Thread Jeff Law
On 12/12/2016 12:14 PM, Jakub Jelinek wrote: Hi! { is a special character in ERE, so gawk rightfully complains in POSIXLY_CORRECT mode. The regex is meant to look for { at the beginning of line. Neither "^\{" nor "^\\{" works though, but "^[{]" does. Bootstrapped/regtested on x86_64-linux and