lua-users home
lua-l archive

Re: Backslash in strings

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


yep, works just fine :) thanks.
On 2005年3月18日 13:58:24 +0000, Adam D. Moss <adam@gimp.org> wrote:
> 
> Groleo Marius wrote:
> > Calling from LUA, the recv function
> > a:recv("[[\* FLAGS .*\W*]]")
> >
> > I get this, when i do a cout << parameter, from within the c++ function
> > [[* FLAGS .*W*]]
> >
> > On 2005年3月18日 10:12:30 -0300, Romulo Bahiense
> > <romulo@icontroller.com.br> wrote:
> >
> >>You can use [[\Wabc\new\trial]].
> >>
> >>Strings enclosed by double brackets won't be escaped.
> 
> Romulo meant
> a:recv([[\* FLAGS .*\W*]])
> 
> --Adam
> --
> Adam D. Moss - adam@gimp.org
> 
-- 
Regards, Groleo!
 .''`. # touch universe
: :' : # chmod +rwx universe
`. `'` # ./universe
 `- Debian - when you have better things to do than fix a system

AltStyle によって変換されたページ (->オリジナル) /