Hi, I need to match some regular expresions, I think I can use Gambas to do it,
in the documentation says somethig like this:
(?i)\b[a-z0-9._%\...@[a-z0-9._%\-]+\.[a-z]{2,4}\b
But how can I use it, any idea?
Any help need thanks.
Regards
--
David
On Tuesday 10 March 2009 15:44, David Villalobos Cambronero wrote:
Hi, I need to match some regular expresions, I think I can use Gambas to
do it, in the documentation says somethig like this:
(?i)\b[a-z0-9._%\...@[a-z0-9._%\-]+\.[a-z]{2,4}\b
But how can I use it, any idea?
That regular
Hi David
This is what I did:
PUBLIC FUNCTION chkEmail(sEmail AS String) AS Boolean
DIM bMail AS Boolean
DIM regx as Regexp
IF sEmail THEN
regx =
NEW Regexp(sEmail,(?i)\b[a-z0-9._%\...@[a-z0-9._%\-]+\.[a-z]{2,4}\b)
IF regx.Text THEN
'DEBUG regx.Text
bMail =
Many thanks, maybe a little example in the wiki could help.
Regards
--
David
- Original Message
From: Rob sourceforge-raind...@kudla.org
To: gambas-user@lists.sourceforge.net
Sent: Tuesday, March 10, 2009 2:53:08 PM
Subject: Re: [Gambas-user] Help using gb.pcre
On Tuesday 10
Thanks Jesus I really appreciate your help.
Regards
--
David
- Original Message
From: Jesus Guardon jguar...@telefonica.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Tuesday, March 10, 2009 3:10:02 PM
Subject: Re: [Gambas-user] Help using gb.pcre