[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string
- From: Francisco Olarte <folarte@...>
- Date: Thu, 6 Mar 2014 17:35:14 +0100
Hi:
On Thu, Mar 6, 2014 at 3:43 PM, Hisham <h@hisham.hm> wrote:
> On 6 March 2014 06:31, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>> 2014-03-06 10:34 GMT+02:00 Francisco Olarte <folarte@peoplecall.com>:
>>> I wanted to be able to write lua pattern code without having to look
>>> at a manual page and carefully examine the pattern everytime.
>> I've been using Lua for more than three years and I am not there yet.
>> I still have to look up whether { is magic, what does %G mean etc.
> Ten years of Lua here and I have to hit the manual for the patterns
> reference all the time. Similar confusions. Going back and forth to
> other pattern syntaxes in other language means I'll probably never
> fully internalize it.
Well, I've used perl since the 4.0 days. That's more than 20 years. I
still hit the manual for advanced res, that is what references are
for.
But lua is the only one where I'll hit the manual & my notes for a
pattern like '^'
Francisco Olarte.
- References:
- Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Coroutines
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Dirk Laurie
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Coroutines
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Thiago L.
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Coroutines
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Francisco Olarte
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Pierre-Yves Gérardy
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Francisco Olarte
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Pierre-Yves Gérardy
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Francisco Olarte
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Pierre-Yves Gérardy
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Francisco Olarte
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Philipp Janda
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Francisco Olarte
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Philipp Janda
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Francisco Olarte
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Dirk Laurie
- Re: Lua Suggestion: return nil in string.find/match() for indexes that are before the string, Hisham