You stopped with "<title[^>]*" before '>'
Maybe this will work:
(re-search-forward "<title[^>]*[>]\\([^<]*\\)")
(region-around-match 1)
Valery
--- jack <delton.shiloh@...> wrote:
>
> i'm trying to get titles of text that looks
> something like this:
>
>
> <title id="v9290060">My title here</title>
>
> the following search works beautifully and leaves
> dot immediately
> after ">":
>
> (re-search-forward "<title[^>]*")
>
>
> however, suppose i try to drag out the title like
> this:
>
> (re-search-forward "<title[^>]*\\([^<]*\\)")
> (region-around-match 1)
>
>
> i think that my region should contain "My title
> here" but it actually
> contains ">My title here"
>
>
>
>
> why? am i doing something wrong here?
>
>
> jack
>
>
>
Send instant messages to your online friends http://au.messenger.yahoo.com