[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Counting number of matches in record/string
From: |
Andrew J. Schorr |
Subject: |
Re: [bug-gawk] Counting number of matches in record/string |
Date: |
Fri, 4 Sep 2015 13:16:18 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Sep 04, 2015 at 08:04:27PM +0300, Jarno Suni wrote:
> On Fri, 04 Sep 2015 16:14:10 +0300
> Aharon Robbins <address@hidden> wrote:
> > I don't think I want to add code for that special case.
>
> Could you point me to the right part of code, so that I can do some
> experimenting?
Take a look at builtin.c:do_sub. The number of matches seems to be
in the "matches" variable, unsurprisingly.
Regards,
Andy