From: Brendan Halpin <brendan.halpin@ul.ie>
Subject: Re: regexp to replace value in xml file
Date: Tue, 19 Sep 2006 15:40:26 +0100 [thread overview]
Message-ID: <8764fjvs11.fsf@wivenhoe.staff8.ul.ie> (raw)
In-Reply-To: 1158674669.890141.107690@i3g2000cwc.googlegroups.com
srinookala@gmail.com writes:
> Brendan Halpin wrote:
>> srinookala@gmail.com writes:
>>
>> > <msgRecvTime>C-q C-j<DateTime>+</DateTime>
>>
>> Try
>> <msgRecvTime>C-q C-j<DateTime>.+</DateTime>
>
>
> That didn't work
>
> For example the string I have is:
>
> <msgRecvTime>
> <DateTime>2005-09-07T12:00:00.000Z</DateTime>
>
It works for me:
If I evaluate
(re-search-forward "<msgRecvTime>
<DateTime>.+</DateTime>")
it puts the point after this:
<msgRecvTime>
<DateTime>2005-09-07T12:00:00.000Z</DateTime>[point]
Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F2-025 x 3147
mailto:brendan.halpin@ul.ie http://www.ul.ie/sociology/brendan.halpin.html
prev parent reply other threads:[~2006-09-19 14:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 11:51 regexp to replace value in xml file srinookala
2006-09-19 11:52 ` Brendan Halpin
2006-09-19 14:04 ` srinookala
2006-09-19 14:40 ` Brendan Halpin [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8764fjvs11.fsf@wivenhoe.staff8.ul.ie \
--to=brendan.halpin@ul.ie \
/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.
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.