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
> 
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to