public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How to find and replace all sensitive text contents in lua filter
@ 2023-05-06 14:36 jiewuza
  2023-05-06 18:17 ` John MacFarlane
  0 siblings, 1 reply; 4+ messages in thread
From: jiewuza @ 2023-05-06 14:36 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

 I want to find and replace all string, say "password", with "***",
 in lua filter.

I checked the "word count" example in the manual. But I have no
 idea how to deal with such cases like "...**pass**word...", the
 sensitive string is separated in different tags.

Has anybody done this in lua filter before?
-- 




----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup


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

end of thread, other threads:[~2023-05-08 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-06 14:36 How to find and replace all sensitive text contents in lua filter jiewuza
2023-05-06 18:17 ` John MacFarlane
     [not found]   ` <46B990F1-1C41-4EC5-AE1F-D461B3173690-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-05-06 18:19     ` John MacFarlane
2023-05-08 15:55       ` jiewuza

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).