excluding search string in regular expressions
franz.steinhaeusler at utanet.at
Thu Oct 21 15:12:49 CEST 2004
On Thu, 21 Oct 2004 14:40:24 +0200, "Mitja" <nun at example.com> wrote:
>Franz Steinhaeusler wrote:
>> On Thu, 21 Oct 2004 13:36:46 +0200, Franz Steinhaeusler
>> <franz.steinhaeusler at utanet.at> wrote:
>>> single characters with [^ab] but I need not(ab)
>> is this the solution (simple concatenating
>> [^*][^*][^/]\n.*:: ?
>That should do, though it's admittedly far from elegant; I, too, would like to see a nicer solution.
>> The background:
>> I want to scan cpp file, whether the have a doxygen
>> comment already: It should find all postitions, where
>> this is missing:
>> doxygen comment
>> void CBs::InitButtonPanel (int progn1, int progn2)
>In this case, I'd replace \n with \w*, meaning any amount of whitespace.
Hello, thank you.
Oh, not really right (about finding c function/method definition):
would also be found.
A more common solution for detecting functions/Methods would be fine.
More information about the Python-list