As for mawk 1.3.4 20150503, 
echo bacaa | mawk '{print match($0,/(a*)*/), RLENGTH}'
prints 
2 1
whereas GNU Awk 4.0.1,
echo bacaa | gawk '{print match($0,/(a*)*/), RLENGTH}'
prints 
1 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1475968

Title:
  match function hangs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/1475968/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to