You are here

rules - please help

4 posts / 0 new
Last post
frares
Offline
Last seen: 7 years 1 month ago
Joined: 2009-11-06 08:24
rules - please help

I didn't get the idea on the rules' regular expressions. I've read the link at

http://docs.wxwidgets.org/stable/wx_wxresyn.html

and yet didn't get it. My fault, of course, but some examples would do very good.

For example, I would like to exclude the following in a SYNC job, how do I setup the rules?

- all directories ".svn"
- all files "*.exe"
- all files ".project"
- all files "moc_*.cpp"
- and many others, but I can figure it out from the samples above, if anyone is kind enough to help this newbie.

Thanks
Francisco

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
For

a lot of those the standard plain text matching the Toucan supplies would be fine, for example ".svn" ".exe" ".project" do not really need regular expressions. I dont have enough time right now to create one for moc_*.cpp but I will try to take a look later and post back Smile

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
I

think this should work fine for for your other query:

moc_([[:alnum:]]+)[.period.]cpp
frares
Offline
Last seen: 7 years 1 month ago
Joined: 2009-11-06 08:24
regex

I forgot to say thankyou!! Sorry Pardon

Log in or register to post comments