[Bug 57462] broken regexp for included files in python project

Jens Dagerbo jens.dagerbo at swipnet.se
Wed Dec 17 08:52:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=57462     
jens.dagerbo at swipnet.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From jens.dagerbo at swipnet.se  2003-12-17 08:51 -------
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.




More information about the KDevelop-devel mailing list