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, but "^[{]" does. > >Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > > >2016-12-12 Jakub Jelinek <ja...@redhat.com> > > > > PR other/78766 > > * opt-functions.awk (opt_args): Use [{] instead of { in regexps. > OK. Though it looks like you fix both { and }, which I assume was > intentional and the ChangeLog is just incomplete.
I've only fixed {, I think } is valid and POSIXLY_CORRECT doesn't complain. That last line has been just space added before (, I can add Formatting fix. into the ChangeLog entry. Jakub