summaryrefslogtreecommitdiffstats
path: root/usr.bin/awk/parse.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2020-06-13 01:19:55 +0000
committermillert <millert@openbsd.org>2020-06-13 01:19:55 +0000
commitef7896159fc0611a0b45253ea37cc7c8f65d4bf5 (patch)
tree39e2e85dd108ec4abcdbbe6b1fdd72e47d50de14 /usr.bin/awk/parse.c
parentTeach powerpc64 ddb to x, w, break, step, trace. (diff)
downloadwireguard-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