* Regular expression with re-search-forward... @ 2006-02-03 15:37 luca.spinacci 2006-02-03 22:50 ` Harry Putnam 2006-02-04 12:59 ` Peter Dyballa 0 siblings, 2 replies; 3+ messages in thread From: luca.spinacci @ 2006-02-03 15:37 UTC (permalink / raw) Hi all, I'm poorly skillled with regular expression and I'd like to use re-search-forward so that I can read MY_TYPE as follow: #define MY_TYPE value ^^^^^^^^^ and } MY_TYPE; ^^^^^^^^^ Thank you very much, L.Spinacci ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regular expression with re-search-forward... 2006-02-03 15:37 Regular expression with re-search-forward luca.spinacci @ 2006-02-03 22:50 ` Harry Putnam 2006-02-04 12:59 ` Peter Dyballa 1 sibling, 0 replies; 3+ messages in thread From: Harry Putnam @ 2006-02-03 22:50 UTC (permalink / raw) luca.spinacci@selex-comms.com writes: > Hi all, > I'm poorly skillled with regular expression and I'd like to use > re-search-forward so that I can read MY_TYPE > as follow: > #define MY_TYPE value > ^^^^^^^^^ > and > } MY_TYPE; > ^^^^^^^^^ I'm probably missing something important here but can't you just put MY_TYPE literally into re-search-forward? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regular expression with re-search-forward... 2006-02-03 15:37 Regular expression with re-search-forward luca.spinacci 2006-02-03 22:50 ` Harry Putnam @ 2006-02-04 12:59 ` Peter Dyballa 1 sibling, 0 replies; 3+ messages in thread From: Peter Dyballa @ 2006-02-04 12:59 UTC (permalink / raw) Cc: help-gnu-emacs Am 03.02.2006 um 16:37 schrieb luca.spinacci@selex-comms.com: > I'm poorly skillled with regular expression and I'd like to use > re-search-forward so that I can read MY_TYPE > as follow: > #define MY_TYPE value > ^^^^^^^^^ > and > } MY_TYPE; > ^^^^^^^^^ I would type: ESC C-s MY_TYPE RET. Or do you think of ESC C-s [A-Z]+_ [A-Z]+[ ;] RET? You don't explain enough what you intend to find ... -- Greetings Pete <\ \__ O __O | O\ _\\/\-% _`\<, '()-'-(_)--(_) (_)/(_) ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-04 12:59 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-02-03 15:37 Regular expression with re-search-forward luca.spinacci 2006-02-03 22:50 ` Harry Putnam 2006-02-04 12:59 ` Peter Dyballa
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.