unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: travis jeffery <eatsleepgolf@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Regex Problem
Date: Sat, 19 Jul 2008 10:50:24 -0700 (PDT)	[thread overview]
Message-ID: <18547090.post@talk.nabble.com> (raw)


I'm trying to write and extension for using tumbr. In tumblr there are two
requirements for a post; title and body. 

So I set up a tumblr post document as:
title:
body:

So get the title I use (string-match "\\title: \(.*\)\$"), which is fine
because it's on a single line. But with I'm having trouble getting the body
because it's multiple lines. So is there someway I can get any text
following the body:_space_? I was thinking also of saving the entire buffer
and then subtracting the title: TITLE and body:_space_ but I still don't
know about that. 

Thanks for your help.
-- 
View this message in context: http://www.nabble.com/Regex-Problem-tp18547090p18547090.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





             reply	other threads:[~2008-07-19 17:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-19 17:50 travis jeffery [this message]
     [not found] <mailman.15059.1216536041.18990.help-gnu-emacs@gnu.org>
2008-07-20  7:48 ` Regex Problem Xah
2008-07-21 16:23   ` John Paul Wallington
2008-07-21 21:47 ` Thr4wn
2008-07-22 12:29   ` Nikolaj Schumacher
     [not found]   ` <mailman.15163.1216729783.18990.help-gnu-emacs@gnu.org>
2008-07-23 19:30     ` Thr4wn
2008-07-23 19:57       ` Drew Adams
2008-07-23 22:36         ` Bernardo Bacic
2008-07-23 22:43           ` Drew Adams
2008-07-24 11:18       ` Nikolaj Schumacher

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=18547090.post@talk.nabble.com \
    --to=eatsleepgolf@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /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).