New topic: Regex
<http://forums.realsoftware.com/viewtopic.php?t=46398> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message aamato Post subject: RegexPosted: Mon Dec 31, 2012 11:09 am Joined: Tue Feb 12, 2008 6:12 pm Posts: 45 Hi, this may be a very simple problem for most of you, but I cannot solve it simply. While using Regex to do searches over a text, how do I get every match ? I can easily get the first match, how to jump to the next one ?? Thanks Happy new year _________________ Consultório Médico Cirurgião Vascular Top ktekinay Post subject: Re: RegexPosted: Mon Dec 31, 2012 11:34 am Joined: Mon Feb 05, 2007 5:21 pm Posts: 329 Location: New York, NY match = rx.Search( myText ) while match <> nil // Do something with the match match = rx.Search // Get the next match wend _________________ Kem Tekinay MacTechnologies Consulting http://www.mactechnologies.com/ Need to develop, test, and refine regular expressions? Try RegExRX. Top aamato Post subject: Re: RegexPosted: Mon Dec 31, 2012 3:45 pm Joined: Tue Feb 12, 2008 6:12 pm Posts: 45 Thanks a lot ! _________________ Consultório Médico Cirurgião Vascular Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
