CVSROOT:        /cvs
Module name:    src
Changes by:     mill...@cvs.openbsd.org 2020/06/12 19:19:55

Modified files:
        usr.bin/awk    : awk.1 awk.h lex.c main.c run.c 

Log message:
POSIX doesn't permit an unescaped '/' in an extended regular expression.
Unlike upstream awk, ours has historically allowed unescaped '/'
inside a bracket expression for compatibility with other awk
implementations but the check was too simple-minded.  This improves
the matching to allow things like /[]/]/, /[^]// and '/[abc[:digit:]/@#]/'
To enable strict POSIX compliance, set POSIXLY_CORRECT.

Reply via email to