Hello,
I test the below both the mawk version in unstable and experimental,
1.3.3-20 and 1.3.4.20200120-1~exp1 respectively.
On Thu, Jun 12, 2008 at 07:29:58AM +0200, Jan Schampera wrote:
> Package: mawk
> Version: 1.3.3-11
> Severity: important
>
> The mawk program doesn't match the following (examples):
>
> Quantities (ERE):
> $ echo AAAA | mawk '/A{4}/ { print; }'
> $
Same results with both unstable and experimental mawk.
>
> Character classes (BRE/ERE):
> $ echo " test" | mawk '/^[[:space:]]*test/ { print; }'
> $
Same result with unstable mawk, but the newer version
in experimental now produces a match for this case!
>
> Probably other {B,E}RE stuff, too, I didn't check all.
>
> Since regular expressions provide a main functionality of AWK, I
> classified it as 'important'.
>
> That may give hints to a problem with the used RE backend.
Regards,
Andreas Henriksson