[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:16:04 CET

> This should work to capture your issue numbers:
>
> [Ii]ssue(?:(?:,\s*|[Aa]nd\s+|\s+)\#?(\d+))+

Ooops, the "and" delimiter part didn't work right. Here is a new version:

[Ii]ssue:?(?:(?:,\s*|\s*,?\s+[Aa]nd\s+|\s+)\#?(\d+))+

This should capture all of these:

issue: 1
issue #2
Issue #3,4,5
Issue 6 and 7
Issue #8,9, #10, #11 , and #12

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 22:20:34 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.