psm@manta.NOSC.MIL (Scot Mcintosh) (04/30/91)
I'm running GAWK version 2.11 for MSDOS. Does anyone know of a problem wherein the 'match' function doesn't properly set RSTART (and possibly RLENGTH as well)? I'm running a script where the line yy = match($0,/[a-zA-Z_] *\(/) produces an RSTART of 19, and yy of 22. According to "The AWK Programming language", these two should be the same. I ran the same script on another awk and got correct results. However, it seems odd that a bug like this would still be around considering how long this version has been out. This version of GAWK came from the simtel archives just today, so presumably it's up to date as far as patches go.