At 5:38 +0900 1/22/03, Daniel Carrera wrote:
>I'm having trouble with a simple match:
>
>>>  line
>=> "<img src='a.jpg' />"
>>>  line =~  /(<img \.*>)/
>=> nil
>
>Shouldn't "." match anything other than "\n"?
>Can anyone see what I'm doing wrong?

But you have \., which matches a literal period.

>
>--
>Daniel Carrera
>Graduate Teaching Assistant.  Math Dept.
>University of Maryland.  (301) 405-5137