> Is there a simple way how to merge these these rules together?

The answer will depend on your expectations for simplicity.


> It seems like it should be possible,

* Can you identify useful merge criteria already?

* Are you aware of software design possibilities from
  the application of SmPL disjunctions?


> but I wasn’t able to decipher the syntax for making parts
> of the match to be remove to be optional

Did you try out to specify the minus character at the beginning
of several lines instead of trying to express a change
only in a single text line?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to