• ContentWeekly EditionArchivesSearchKernelSecurityEvents calendarUnread commentsLWN FAQWrite for us Weekly Edition Archives Search Kernel Security Events calendar Unread comments LWN FAQ Write for us GNU Awk 5.4.0 released Version 5.4.0ofGNU awk(gawk) has been released. • This is a major release with a change in gawk’s default regular-expression matcher: it now usesMinRXas the default regular-expression engine. • This matcher is fully POSIX compliant, which the current GNU matchers are not. • In particular it follows POSIX rules for finding the longest leftmost submatches. • It is also more strict as to regular expression syntax, but primarily in a few corner cases that normal, correct, regular expression usage should not encounter. • Because regular expression matching is such a fundamental part of awk/gawk, the original GNU matchers are still included in gawk.
Article Summaries:
- GNU Awk (gawk) has released version 5.4.0, a major update that changes its default regular‑expression engine to MinRX. MinRX is fully POSIX‑compliant, ensuring longest‑leftmost submatch selection and stricter syntax rules compared to the previous GNU matchers. The older matchers remain bundled for backward compatibility and can be enabled via the GAWK_GNU_MATCHERS environment variable, though they will be removed in future releases. Users are encouraged to test the new engine and report any issues to help refine MinRX before the legacy matchers are dropped. Further release notes detail additional changes.
- GNU Awk 5.4.0 released Version 5.4.0 of GNU awk (gawk) has been released. This is a major release with a change in gawk’s default regular-expression matcher: it now uses MinRX as the default regular-expression engine. This matcher is fully POSIX compliant, which the current GNU matchers are not. In particular it follows POSIX rules for finding the longest leftmost submatches. It is also more strict as to regular expression syntax, but primarily in a few corner cases that normal, correct, regular expression usage should not encounter. Because regular expression matching is such a fundamental pa
Sources:
- https://lwn.net/Articles/1060050/ (Latest source article published: 2026-02-24 16:22 UTC)