$ 1 without characters in regex

A couple of people just recommended removing the curly braces from $ {1}, but that didn't change anything; still getting nothing for $ 1.

I am trying to put stuff in parentheses in the src attribute value in the img tag:

$toc_line =~ s!<inlineFig.*?(\.\./pics/ch09_inline99_*?\.jpg)*?</inlineFig>!<img src="$1" alt="" />!g;

      

Img tags are still displayed with src = "instead of eg src =" .. / pics / ch 09_inline99_00 ".

thank

Please add information to an existing question

Duplicate: Why is my lookup empty blank?

0


source to share


1 answer


I think you want to add dots before the second and third stars.



0


source







All Articles