From: Heime <heimeborgia@protonmail.com>
To: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Matching labels with buttons
Date: Mon, 15 Jul 2024 11:17:02 +0000 [thread overview]
Message-ID: <suSN_3RYW2V4oLiMCj82aCs66PVi__XTHiVoz-EuPIgY6zWfdVankwJg-JoaukS4Nx7YGSc8GO3qYi9hVHtmgrTr6IirVwR9-5MMmSlXy_k=@protonmail.com> (raw)
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.
next reply other threads:[~2024-07-15 11:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-15 11:17 Heime [this message]
2024-07-15 11:25 ` Matching labels with buttons 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
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='suSN_3RYW2V4oLiMCj82aCs66PVi__XTHiVoz-EuPIgY6zWfdVankwJg-JoaukS4Nx7YGSc8GO3qYi9hVHtmgrTr6IirVwR9-5MMmSlXy_k=@protonmail.com' \
--to=heimeborgia@protonmail.com \
--cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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.