regex: simplify based on Gawk version