Re: new string functions (was Re: Standard Libraries....)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: new string functions (was Re: Standard Libraries....)
- From: Tony Finch <dot@...>
- Date: 2010年1月20日 01:37:46 +0000
On 2010年1月18日, David Manura wrote:
> On Mon, Jan 18, 2010 at 12:41 AM, Vaughan McAlley wrote:
> > 2010年1月18日 Majic:
> >> WHAT IS THIS G?!
> > Global, I think (not to be confused with global variables :-) )
>
> I've asked that too. Maybe it's something to add to the manual.
> To quote the Lhf, "The name gsub was taken from AWK, way back in Lua
> 2.5." You also see a variant of it (/g) make its way into Perl.
The g in "grep" has the same etymology.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.