[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regexp to match any character, including newline?
|
From: |
Gian Uberto Lauri |
|
Subject: |
Regexp to match any character, including newline? |
|
Date: |
Mon, 6 Oct 2003 10:20:09 +0200 |
>>>>> "JF" == Joe Fineman <address@hidden> writes:
JF> It is sometimes a nuisance that "." in a regexp does not match
JF> newlines. For example, I want a regexp for text in parentheses that
JF> contains the word "and" followed (anywhere) by a date.
JF> (.+ and .+ [1-2][0-9][0-9][0-9].+)
What about something like:
\(.*[\n]\)
;; Warning, can cause regexp stack overflow.
font-lock has should font-lock-multiline (HOW????) since Emacs 21
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico e fancazzista
\/
- Regexp to match any character, including newline?, Joe Fineman, 2003/10/04
- Re: Regexp to match any character, including newline?, Stefan Monnier, 2003/10/04
- Re: Regexp to match any character, including newline?, Jesper Harder, 2003/10/04
- Re: Regexp to match any character, including newline?, Joe Fineman, 2003/10/05
- Regexp to match any character, including newline?,
Gian Uberto Lauri <=