From: Kai Grossjohann <kai.grossjohann@gmx.net>
Subject: Re: search for time stamp
Date: Sun, 28 Sep 2003 11:42:39 +0200 [thread overview]
Message-ID: <86oex5w8og.fsf@slowfox.dyndns.org> (raw)
In-Reply-To: m2u176cjr7.fsf@yahoo.com
Zimmen Gnauh <yah00204052@yahoo.com> writes:
> use (re-search-forward "^??/??/?? ??:??:??:") to search for a
That look like a shell glob. In shell globs, ? stands for any single
character (except /), whereas * stands for zero or more characters
(except /).
Regular expressions work differently: . stands for any single
character (except newline), and ?, + and * are suffixes.
a? means zero or one occurrences of a.
a+ means one or more occurrences of a.
a* means zero or more occurrences of a.
Thus, ".*" means zero or more occurrences of any character, which is
similar to the shell glob "*".
And "." means any single character, which is similar to the shell glob
"?".
--
Two cafe au lait please, but without milk.
prev parent reply other threads:[~2003-09-28 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-21 14:12 search for time stamp Zimmen Gnauh
2003-09-21 12:32 ` Dave Footitt
2003-09-21 16:48 ` Zimmen Gnauh
2003-09-21 13:36 ` Dave Footitt
2003-09-21 17:13 ` Ehud Karni
2003-09-28 9:42 ` Kai Grossjohann [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=86oex5w8og.fsf@slowfox.dyndns.org \
--to=kai.grossjohann@gmx.net \
/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).