all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Regexp for matching (defun lines
@ 2024-07-31 19:23 Heime
  2024-07-31 19:59 ` [External] : " Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: Heime @ 2024-07-31 19:23 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

I awm using the following regexp to match "(defun" lines

("defun" "^\\s-*(defun\\s-+\\([[:alnum:]-]+\\)") 1)

I need regexp suggestions to improve upon it.



Sent with Proton Mail secure email.



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

end of thread, other threads:[~2024-08-01  4:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31 19:23 Regexp for matching (defun lines Heime
2024-07-31 19:59 ` [External] : " Drew Adams
2024-07-31 20:14   ` Heime
2024-07-31 21:02     ` Drew Adams
2024-07-31 21:15       ` Heime
2024-08-01  2:11         ` Drew Adams
2024-07-31 21:29       ` Heime
2024-08-01  2:08         ` Drew Adams
2024-08-01  2:24           ` Heime
2024-08-01  3:34             ` Drew Adams
2024-08-01  4:15               ` Heime

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.