Re: [PATCH] [RFC] get_maintainer: Really limit regex patterns to words

2019-06-17 Thread Joe Perches
On Mon, 2019-06-17 at 16:23 +0200, Geert Uytterhoeven wrote: > Limit file and directory regex matching to paths that contain the > pattern as a word, i.e. that contain word boundaries before and after > the pattern. This helps avoiding false positives. > > Without this, e.g. "scripts/get_maintain

[PATCH] [RFC] get_maintainer: Really limit regex patterns to words

2019-06-17 Thread Geert Uytterhoeven
Limit file and directory regex matching to paths that contain the pattern as a word, i.e. that contain word boundaries before and after the pattern. This helps avoiding false positives. Without this, e.g. "scripts/get_maintainer.pl -f tools/perf/pmu-events/arch/x86/westmereex" lists the STM32 mai