Le 25/04/2012 18:58, Daniel Quintero a écrit :
Hello, I have an error in this line of code when I use the \s constant
in the pattern:
re = New Regexp(sText, span\s([^]*))
If I use span([^]*) (Without the \s) I have no error.
The error occurs when I press the F5 function key to
Mmm, I updated my Gambas 3.1 last week, I don't know exactly what
revision is, but is recent.
Ok, I will fix my code.
Thanks.
*_*
*Lic. Daniel Quintero Rojas*
http://www.dquinter.com.mx
http://futbol.dquinter.com.mx
http://twitter.com/#!/dquinteror
*¡Saludos
Just if someone needs it, I've added an optional argument submatchindex that
will return the matches of a given submatch.
PRIVATE FUNCTION FindAll(subj AS String, pattern AS String, OPTIONAL
submatchindex AS Integer = 0) AS String[]
DIM re AS Regexp
DIM matches AS NEW String[]
On Thursday 30 October 2008 23:32:09 Rob wrote:
On Thursday 30 October 2008 17:59, Markus Schatten wrote:
I'm a newbee to Gambas and I have a little problem. I would like to use
the pcre Regexp class, but I seem not to be able to find any examples of
how to instantiate a new object nor how
Hello group members,
I'm a newbee to Gambas and I have a little problem. I would like to use the
pcre Regexp class, but I seem not to be able to find any examples of how to
instantiate a new object nor how to use such objects. Is there any
documentation/tutorial/example? If not could please