Re: [Gambas-user] Regexp Submatches

2008-06-25 Thread Rob
On Wednesday 25 June 2008 10:21, Nathan Neff wrote: > For example, I want to find all non-whitespace characters in the > string "Gambas", and > iterate through them. I tried code like this: > rege.Compile("(\\S)") > FOR i = 1 TO rege.SubMatches.count > Message(rege.SubMatches[i].Text) > Bu

[Gambas-user] Regexp Submatches

2008-06-25 Thread Nathan Neff
Hello, I would like some help using the Submatches property of the Regexp feature in Gambas. For example, I want to find all non-whitespace characters in the string "Gambas", and iterate through them. I tried code like this: DIM rege AS NEW Regexp DIM i AS Integer ' The \S is a non-whitesp