Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

rules - please help

frares - November 6, 2009 - 8:53am

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


( categories: )

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 Smiling

'...and do the other things, not because they are easy, but because they are hard...' JFK

I

think this should work fine for for your other query:

moc_([[:alnum:]]+)[.period.]cpp

'...and do the other things, not because they are easy, but because they are hard...' JFK

regex

I forgot to say thankyou!! Sorry Puzzled