unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Matching labels with buttons
@ 2024-07-15 11:17 Heime
  2024-07-15 11:25 ` Heime
  0 siblings, 1 reply; 17+ messages in thread
From: Heime @ 2024-07-15 11:17 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

I want to match cases such as

Label [-]

Have constructed the following regexp, but it does not match the above

"\\(.*\\)\\(\\s-*\\[\\-\\]\\s-*\\)"

I aw using 

(when (string-match "\\(.*\\)\\(\\s-*\\[\\-\\]\\s-*\\)" text)




Sent with Proton Mail secure email.



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

end of thread, other threads:[~2024-07-15 23:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 11:17 Matching labels with buttons Heime
2024-07-15 11:25 ` Heime
2024-07-15 11:56   ` Stephen Berman
2024-07-15 12:35     ` Heime
2024-07-15 12:52       ` Stephen Berman
2024-07-15 12:58         ` Heime
2024-07-15 13:42           ` Stephen Berman
2024-07-15 16:24             ` Heime
2024-07-15 17:25               ` Heime
2024-07-15 21:20                 ` Stephen Berman
2024-07-15 21:29                   ` Heime
2024-07-15 21:50                     ` Stephen Berman
2024-07-15 22:29                       ` Heime
2024-07-15 22:46                         ` Stephen Berman
2024-07-15 23:02                           ` Heime
2024-07-15 11:57   ` Bruno Barbier
2024-07-15 18:29     ` tpeplt

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 read-only IMAP folder(s) and NNTP newsgroup(s).