[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: manual correction
- From: Ryanne Thomas Dolan <rtdmr6@...>
- Date: Thu, 26 Jan 2006 17:04:57 -0600
Sorry if this was mentioned already, but the description under string.gsub is redundant.
If repl is a table, then the table is queried for every match, using the first capture as the key; if the pattern specifies no captures, then the whole match is used as the key.
If repl is a function, then this function is called every time a match occurs, with all captured substrings passed as arguments, in order; if the pattern specifies no captures, then the whole match is passed as a sole argument. If repl is a table, then this table is queried with the value of the first capture or of the whole match, if the pattern specifies no captures.
- References:
- Coroutines and blocking IO, Jon Smirl
- Re: Coroutines and blocking IO, Jeff Sheets
- Re: Coroutines and blocking IO, Jon Smirl
- Re: Coroutines and blocking IO, Javier Guerra
- Re: Coroutines and blocking IO, Jon Smirl
- Re: Coroutines and blocking IO, Glenn Maynard
- Re: Coroutines and blocking IO, Jon Smirl
- Re: Coroutines and blocking IO, Klaus Ripke
- Re: Coroutines and blocking IO, Jon Smirl
- Re: Coroutines and blocking IO, Klaus Ripke