From: Markus Elfring <Markus.Elfring@web.de>
To: Denis Efremov <efremov@linux.com>,
Julia Lawall <julia.lawall@inria.fr>,
Coccinelle <cocci@systeme.lip6.fr>
Subject: Re: [Cocci] Searching for format strings with SmPL disjunctions
Date: Sun, 16 Aug 2020 10:37:02 +0200 [thread overview]
Message-ID: <79b1be9f-51a0-1e02-bf96-af9104324eb9@web.de> (raw)
In-Reply-To: <047eaa85-20cf-800d-7087-a980f53572de@web.de>
Can a source code search pattern like the following become ever usable?
@display@
@@
*"%"
("d"
|"ld"
|"lld"
)
("\n"
|""
)
elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-cocci show_usage_of_selected_format_strings.cocci
…
minus: parse error:
File "show_usage_of_selected_format_strings.cocci", line 4, column 0, charpos = 18
around = '(',
whole content = ("d"
Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
next prev parent reply other threads:[~2020-08-16 8:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ed9a8046-4c21-e849-f68b-9e08991b701d@web.de>
2020-08-14 8:50 ` [Cocci] [PATCH] coccinelle: api: add sprintf() support to device_attr_show Denis Efremov
[not found] ` <48ffa436-6e73-88b2-07bc-89942f3c6d8e@web.de>
2020-08-14 14:36 ` Denis Efremov
[not found] ` <047eaa85-20cf-800d-7087-a980f53572de@web.de>
2020-08-16 8:37 ` Markus Elfring [this message]
2020-08-16 8:43 ` [Cocci] Searching for format strings with SmPL disjunctions Julia Lawall
2020-08-16 8:48 ` Markus Elfring
2020-08-16 11:00 ` Markus Elfring
2020-08-15 10:32 ` [Cocci] [PATCH] coccinelle: api: add sprintf() support to device_attr_show Julia Lawall
2020-08-17 7:00 ` [Cocci] " Markus Elfring
2020-08-17 7:42 ` Julia Lawall
2020-08-17 7:57 ` Markus Elfring
2020-08-17 8:02 ` Julia Lawall
[not found] ` <cad4141c-8cba-3705-a502-0620ae3df027@web.de>
2020-08-17 8:24 ` Julia Lawall
[not found] ` <1e60d36d-7f2b-98eb-5fe3-9729b97ba360@web.de>
2020-08-17 16:29 ` Julia Lawall
[not found] ` <afbbc6f1-ca60-e780-0139-d944165e456f@web.de>
2020-09-05 7:39 ` Julia Lawall
[not found] ` <26349832-57a8-4c6e-efc9-0febd5650922@web.de>
2020-09-05 9:53 ` Julia Lawall
2020-09-05 11:08 ` Julia Lawall
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=79b1be9f-51a0-1e02-bf96-af9104324eb9@web.de \
--to=markus.elfring@web.de \
--cc=cocci@systeme.lip6.fr \
--cc=efremov@linux.com \
--cc=julia.lawall@inria.fr \
/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).