[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lrexlib : newbie question
- From: Vnpenguin <vnpenguin@...>
- Date: Mon, 10 Sep 2007 20:43:13 +0200
On 9/10/07, Shmuel Zeigerman <shmuz@actcom.co.il> 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,
Regards,