lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 9/10/07, Shmuel Zeigerman <> 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,