<?phpecho"/<\s*?img\s[^>]*?src=([\"']??)([^\"' >]*?)\1[^>]*?>/si";echo"\n ^^ Oh no! Where did my back reference go?\n\n";echo'/<\s*?img\s[^>]*?src=(["\']??)([^"\' >]*?)\1[^>]*?>/si';echo"\n ^^ Ah, there it is!";
/<\s*?img\s[^>]*?src=(["']??)([^"' >]*?)[^>]*?>/si
^^ Oh no! Where did my back reference go?
/<\s*?img\s[^>]*?src=(["']??)([^"' >]*?)\1[^>]*?>/si
^^ Ah, there it is!