From: julia.lawall@lip6.fr (Julia Lawall) Date: Thu, 9 Oct 2014 07:37:04 +0200 (CEST) Subject: [Cocci] Searching for pass-through functions In-Reply-To: <54357CFA.8070808@users.sourceforge.net> References: <54303340.3090901@users.sourceforge.net> <54305719.1050304@users.sourceforge.net> <54312F70.3080809@users.sourceforge.net> <54313662.8000402@users.sourceforge.net> <543522B0.9020700@users.sourceforge.net> <5435279E.2070901@users.sourceforge.net> <54352C21.3050309@users.sourceforge.net> <54357CFA.8070808@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Wed, 8 Oct 2014, SF Markus Elfring wrote: > > @@ > > identifier other_functions; > > @@ > > > > ( > > \(function\|names\|that\|are\|of\|no\|interest\) > > | > > * other_functions > > ) > > (...) > > Thanks for another example of a semantic patch rule. > > Would any more fine-tuning make sense for the shown SmPL disjunction when it > gets longer? > Does the current Coccinelle software support to organise entries in such a name > list into subgroups where common prefixes or suffixes will be used? No. julia > Your suggestion comes close to my idea to work with the functionality "negative > lookaround" (in constraints) for some use cases. > http://www.regular-expressions.info/lookaround.html > > Regards, > Markus >