You are here

RegExp in Rules

2 posts / 0 new
Last post
tomcat
Offline
Last seen: 13 years 11 months ago
Joined: 2010-12-16 01:01
RegExp in Rules

Not supporting expressions like (mp3|wav|avi) ?
I have:
File to exclude *.*\.(mp3|wav|avi)

when reload toucan, i see that:

File to exclude *.*\.(mp3
File to exclude wav
File to exclude avi)

seems toucan use | character in the Rules.ini to merge equal rule sections, and regexp alternation operation conflicts it.

maybe decision will be to double | character in the INI? as for \ character

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 be fixed in the next release, thanks for the report Smile

EDIT: The easiest way to do it is to set up three file excludes simply containing mp3, avi & avi though as this should work fine.

Log in or register to post comments