Version: 3.0.0a4 (using KDE KDE 3.1) Installed from: RedHat RPMs OS: Linux After creating an imported python project it includes all python files in the project directory and subdirectories, after changing the include expression from '*.py' to 'mtg*.py' to limit this action *NO* files are included. '*mtg*.py' causes the inclusion of ALL files, not only those that match the expression. (there are definately mtg*.py files included when using *.py) (changed in 'project->project options->script project options') This makes it very hard to maintain a meaningfull python project, as all files (not just rhe ones desired) become included in the project, and therefore in the class browser, etc. It would also be nice to be able to provide a list of expressions. eg, 'mtg*.py; testrun.py; lib/lib*.py'
Can you retest with the latest CVS?
I can verify this behaviour. It is however debatable if this is a bug or not. The reason for the confusion is that the wildcard matching isn't done against the filename, but against the full path of the file. The reporter's project path(see bug #57461) is "/home/stuart/mtg2", and clearly all .py files under this path will match '*mtg*.py'. It IS possible to define a list of expressions, but the separator isn't ';' it is ',' So, the reporters wish of 'mtg*.py; testrun.py; lib/lib*.py' should work if written something like: '*mtg???.py,*testrun.py,*lib/lib*.py' - where the '???' sequence in the first pattern clearly being the weak case.. IMHO, there is no "bug", it works as intended. However, it clearly needs alot of improvement. Hopefully the interest for this will come, but for now I think we can close this one.