tags:

views:

838

answers:

2

Hi,

I need to exclude files with the following pattern:

ProjectFoo.Data[0-9]{14}.lgp

How can I use RegEx for (Visual)SVN ignore list?

+2  A: 

As the file looks like an LLBLGen Pro project backup file, you can force llblgen pro to store backup files into a separate folder (See preferences: default backup folder), e.g. .\Backup. This way you can exclude that folder in svn and you're done :)

Frans Bouma
Frans,I am just astound by finding you answering this question... How do you find the time to develop LLBLGen, monitor the LLBLGen forum AND scan stackoverflow.com for little thingies!I wish one day I had that time... Or found the same loophole for time travelling.. Thanks!
Gabriël
Heh :) Well, I registered to stackoverflow 1 day ago, and was just browsing some questions, trying out the tag filtering stuff, and my eye caught the .lgp suffix. Immediately I recognized the problem, and knew the answer :D. So call it 'just luck' ;) (oh and fast typing helps ;))
Frans Bouma
+4  A: 

The subversion ignore list don't support regular expressions. They are implemented as glob/file patterns.

These patterns don't support the {14} repeat construct.

The pattern

ProjectFoo.Data[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].lgp

should do what you ask, but I would recommend using something like ProjectFoo.Data[0-9]*.lgp as that would be 'good enough'.

Bert Huijben