grepview part

Matt Rogers mattr at kde.org
Mon Oct 9 23:22:43 UTC 2006


On Monday 09 October 2006 09:13, Robert Gruber wrote:
> 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?
>

Both branches are fine. Feel free to commit whenever.

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

If we don't know and we can't figure it out, remove it.
-- 
Matt




More information about the KDevelop-devel mailing list