From: Markus Elfring <Markus.Elfring@web.de>
To: "Ondřej Surý" <ondrej@sury.org>
Cc: cocci@systeme.lip6.fr
Subject: Re: [Cocci] Merging SmPL rules
Date: Thu, 21 Nov 2019 21:42:25 +0100 [thread overview]
Message-ID: <1020049f-4ba8-a0c4-2678-e1b981a582ab@web.de> (raw)
In-Reply-To: <7FB3DF60-DEFB-434B-9A84-33575D34576E@sury.org>
> 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
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
prev parent reply other threads:[~2019-11-21 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-20 7:03 [Cocci] "already tagged token" error? Ondřej Surý
2019-11-21 20:06 ` Julia Lawall
2019-11-21 20:42 ` Markus Elfring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1020049f-4ba8-a0c4-2678-e1b981a582ab@web.de \
--to=markus.elfring@web.de \
--cc=cocci@systeme.lip6.fr \
--cc=ondrej@sury.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).