<http://realsoftware.com/feedback/viewreport.php?reportid=udsbvegd>

In 2K7r1, the first regex match against a string updates the SearchStartPosition, but subsequent searches only ever find the first match, and SearchStartPosition isn't updated.

If you instead do

  m = r.Search(someString, r.SearchStartPosition)

everything is good.

Just trying to spare someone else the grief I've been going through finding this out.

Regards,

Guyren G Howe
Relevant Logic LLC

guyren-at-relevantlogic.com ~ http://relevantlogic.com

REALbasic, PHP, Ruby/Rails, Python programming
PostgreSQL, MySQL database design and consulting
Technical writing and training


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to