Mawk does not support Posix character classes in expressions
Bug #69724 reported by
Sam Trenholme
This bug affects 12 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mawk (Debian) |
Fix Released
|
Unknown
|
|||
mawk (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: mawk
Mawk does not support Posix character classes, such as [:upper:] and [:lower:], in regular expressions. This makes it more difficult to write portable Awk scripts (since [A-Z] match lower-case characters in Gawk using non-English locales)
E.G.:
$ echo x | mawk '/[[:lower:]]/'
$ echo x | gawk '/[[:lower:]]/'
x
$
Attached is a patch to fix this issue.
Changed in mawk (Debian): | |
status: | Unknown → Confirmed |
Changed in mawk (Debian): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
The patch to fix this issue.
- Sam