From: GianUberto.Lauri@eng.it (Gian Uberto Lauri)
Cc: help-gnu-emacs@gnu.org
Subject: Regexp to match any character, including newline?
Date: Mon, 6 Oct 2003 10:20:09 +0200 [thread overview]
Message-ID: <16257.9657.880756.550500@mail.eng.it> (raw)
In-Reply-To: <wkisn4mzkx.fsf@TheWorld.com>
>>>>> "JF" == Joe Fineman <jcf@TheWorld.com> 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
\/
prev parent reply other threads:[~2003-10-06 8:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-04 22:02 Regexp to match any character, including newline? Joe Fineman
2003-10-04 22:46 ` Stefan Monnier
2003-10-04 22:59 ` Jesper Harder
2003-10-05 7:09 ` Martin Stone Davis
[not found] ` <mailman.1130.1065337789.21628.help-gnu-emacs@gnu.org>
2003-10-05 20:35 ` Jesper Harder
2003-10-05 21:45 ` Joe Fineman
2003-10-06 8:20 ` Gian Uberto Lauri [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16257.9657.880756.550500@mail.eng.it \
--to=gianuberto.lauri@eng.it \
--cc=help-gnu-emacs@gnu.org \
--cc=saint@eng.it \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).