[Gambas-user] Find a ( with a Regexp
Benoît Minisini
gambas at ...1...
Sat Apr 24 00:17:39 CEST 2010
> Component status is experimental... maybe there are bug?
>
> Jussi
>
> On Fri, Apr 23, 2010 at 22:43, David Villalobos Cambronero
>
> <david.villalobos.c at ...626...> wrote:
> > No, it has to be inside a Regexp
> >
> > $hRexEpr = New Regexp($sLineSymbol, "^function \(")
> >
> > But it does no work :(
> >
> > --
> > Gracias
> > ---
> > David
\( is Gambas quoting, the regexp does not see it. To use regexp quoting you
must quote the slash too:
$hRegEpr = New Regexp($sLineSymbol, "^function \\(")
Regards,
--
Benoît Minisini
More information about the User
mailing list