RegEx Help--Across Lines
Sivakatirswami
katir at hindu.org
Sat Nov 20 21:20:24 EST 2004
I am using Rev to repurpose old html to new CSS compliant mark up. The
old pages are incredibly inconsistent. Fortunately grep is our
friend.. I need a grep expression that will pass out the content from
both #1:
<title> some title </title>
and #2
<title> some title
</title>
where the first instance has no line break but the second one does
if matchtext (x,("title>(.*?)</title"), tTitle then
put tTitle
end if
picks up #1 but not # two
I read through BBEdits grep reference but don't find any reference on
how to ignore the line break.
Thanks
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
katir at hindu.org
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
More information about the use-livecode
mailing list