[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regex Problem
From: |
travis jeffery |
Subject: |
Regex Problem |
Date: |
Sat, 19 Jul 2008 10:50:24 -0700 (PDT) |
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.
- Regex Problem,
travis jeffery <=