diff options
author | 2020-06-13 01:19:55 +0000 | |
---|---|---|
committer | 2020-06-13 01:19:55 +0000 | |
commit | ef7896159fc0611a0b45253ea37cc7c8f65d4bf5 (patch) | |
tree | 39e2e85dd108ec4abcdbbe6b1fdd72e47d50de14 /usr.bin/awk/parse.c | |
parent | Teach powerpc64 ddb to x, w, break, step, trace. (diff) | |
download | wireguard-openbsd-ef7896159fc0611a0b45253ea37cc7c8f65d4bf5.tar.xz wireguard-openbsd-ef7896159fc0611a0b45253ea37cc7c8f65d4bf5.zip |
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.
Diffstat (limited to 'usr.bin/awk/parse.c')
0 files changed, 0 insertions, 0 deletions