[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lrexlib : newbie question
- From: Vnpenguin <vnpenguin@...>
- Date: Mon, 10 Sep 2007 20:43:13 +0200
On 9/10/07, Shmuel Zeigerman <firstname.lastname@example.org> wrote:
> The reason is the backslash in the pattern: when Lua compiles '(\d+)',
> the backslash disappears, and PCRE can't see it.
> In order to obtain the correct results, one should either duplicate
> every backslash or use "long string" syntax.
> Bottom line: use '(\\d+)' or [[(\d+)]].
Thank you so much for your very quick help,