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

RE: [TSVN] Our Issue RegEx needs finetuning...

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-03-23 11:53:35 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Folks,

I played a buit with our regex and changed the first line to:

[Ii]ssue[s]?[:]? #?(\d+)((,? ?#(\d+))?)+

It is a bit better, but if you run it on the following test:
- ---SNIP---
This closes Issues: #21 and #22
This closes Issue: #23 #24 and #25
This closes Issue #26 and issue #27
issue #28, #29, #30, #31, #32
issue #33,#34,#35, #36, #37
- ---SNIP---

It doesn't grab #22 and #25 (OK, that's easy to solve), but it also doesn't
grab #29-#31 and #34-#26, which I don't understand. I think the expression
is a bit too complicated.

Cheers
- -Lübbe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.0

iD8DBQFCQUqvm8gezyP1EasRAuOFAJ9f4lTipkovi4/b32AnDAxRefLrkACfRi8w
KiK4JCKfyQMGK5UMB694ths=
=sAVe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 23 11:54:17 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.