> Component status is experimental... maybe there are bug?
> 
> Jussi
> 
> On Fri, Apr 23, 2010 at 22:43, David Villalobos Cambronero
> 
> <david.villalobo...@gmail.com> 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

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to