[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs regexp question
From: |
gmayer |
Subject: |
emacs regexp question |
Date: |
Wed, 4 Jun 2003 17:24:21 GMT |
Hello:
There are some regexps I don't know how to specify in gnu emacs:
- How should I ask for the first occurrence of two blank lines?
- How should I ask for the first occurrence of N blank lines for some fixed,
yet large, N. I think emacs uses ^ for the start of the line, though I've
seen some regexp libraries (not for emacs) that use the ^ as a sort of
"exponentiation" symbol for the number of times a string is concatenated.
- How can I search for regexps that have one or more newlines in the middle?
Brief explanations and/or brief examples of the above would greatly be
appreciated!
Thanks,
Mayer (gmayer@cs.bgu.ac.il)
- emacs regexp question,
gmayer <=