All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Search/replace inside string constants?
@ 2018-07-26 22:19 Timur Tabi
  2018-07-26 22:36 ` Julia Lawall
  2018-07-26 22:39 ` Timur Tabi
  0 siblings, 2 replies; 15+ messages in thread
From: Timur Tabi @ 2018-07-26 22:19 UTC (permalink / raw)
  To: cocci

Is there a way to edit string constants?  I need to change

"NVRM: ...."

into

"..."

That is, I need to remove the "NVRM: " from a string.  I tried this:

@depends on rule1@
@@
-"NVRM: "
+""

But it doesn't do anything.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-07-28  6:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-26 22:19 [Cocci] Search/replace inside string constants? Timur Tabi
2018-07-26 22:36 ` Julia Lawall
2018-07-26 22:44   ` Timur Tabi
2018-07-26 22:54     ` Julia Lawall
2018-07-27 16:38       ` Timur Tabi
2018-07-27 16:46         ` Julia Lawall
     [not found]           ` <69450411-cc54-ccad-2dfa-7dfbd439c0ba@nvidia.com>
     [not found]             ` <alpine.DEB.2.20.1807271910330.12787@hadrien>
     [not found]               ` <6ca5500f-039e-e586-9366-719f847f3352@nvidia.com>
2018-07-27 19:40                 ` Julia Lawall
2018-07-27 20:25                   ` Timur Tabi
2018-07-27 21:28                     ` Timur Tabi
2018-07-27 17:09         ` SF Markus Elfring
2018-07-27 17:14           ` Julia Lawall
2018-07-28  6:42         ` SF Markus Elfring
2018-07-28  6:54           ` Julia Lawall
2018-07-26 22:39 ` Timur Tabi
2018-07-26 22:51   ` Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.