grepview part

Robert Gruber rgruber at users.sourceforge.net
Mon Oct 9 14:13:42 UTC 2006


Hi,

I've been playing around with the grepview part a bit and noticed two things:

1) Both templates "class::MEMBER(" and "OBJECT->member(" contain a backslash 
infront of the + where IMHO there shouldn't be abackslash:

"class::MEMBER("
IS: [a-z0-9_$]\+[\t ]*::[\t ]*\<%s\>[\t ]*\(
SHOULD BE:  [a-z0-9_$]+[\t ]*::[\t ]*\<%s\>[\t ]*\(

"OBJECT->member("
IS: \<%s\>[\t ]*\->[\t ]*[a-z0-9_$]\+[\t ]*\(
SHOULD BE: \<%s\>[\t ]*\->[\t ]*[a-z0-9_$]+[\t ]*\(

If there is no counterpart I'm going to commit these changes to 
branches/kdevelop/3.4 tomorrow. Or should we even add this to the KDE/3.5 
branch?



2) What exactly is the regexp for the template "[OBJECT method" intended to 
find? 
\[[\t ]*\<%s\>[\t ]*[a-zA-Z0-9_$:]



Best regards, Robert




More information about the KDevelop-devel mailing list