|
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
|