[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: Wed, 5 Mar 2014 20:02:45 +0100
Hi:
On Wed, Mar 5, 2014 at 4:54 PM, Pierre-Yves Gérardy <pygy79@gmail.com> wrote:
( about sanitize )..
> Why not?
Yeah, I'll do it if I deem lua is appropiate, but I'm doomed to forget
it periodically due to similarity with all the other pattern
implementations which behave differently.
> if pattern:byte() == 94 -- anchored
Nice, I would have coded the check extracting a char, but I suppose
this is faster/easier in lua. I'll keep it for reference.
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, Pierre-Yves Gérardy