Re: Why these dot chars in scripts/checkpatch.pl?

From: Rogan Dawes
Date: Mon Apr 28 2008 - 16:49:59 EST


Paul Jackson wrote:
Andy,

Perhaps I'm loosing my magic regex pixie dust, but the dot '.' char
in the pattern "/^.#" in the following lines looks wrong to me, as if
one were trying to match pre-processor directives that were set in by
one character:

Perhaps it is because checkpatch.pl is supposed to check *patches*, which are typically indented by one character (+- )?

Rogan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/