[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [TSVN] regex help

From: Eric J. Smith <eric_at_ericjsmith.net>
Date: 2005-02-17 22:57:51 CET

> No it does not. Well, it does _while_ matching, but the results after
> the match are not what we need. You can see it in the output above: the
> number before the '=>' indicates the group which holds the result at the
> end of the match (that's what you get, fetching groups _while_ matching
> would mean interfere with the regex engine, i.e. patching it!). And you
> can easily see that group number one really gets all the issue numbers,
> but they're overwritten every time. The result is number 21 which is the
> only number we finally get in group 1.

Hrmm... that really sucks. I put in an email to the GRETA maintainers to
see if they can help us, but if they can't then I guess you have no choice
but to use the two pass regex approach. Unless you feel like hacking their
regex engine :-)

Eric J. Smith

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 17 23:00:53 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.