Why are you using lookarounds at all?
m{^ starttag (.+?) enddag }xsm
In reply to Re: negative look behind (not needed) by Anonymous Monk in thread negative look behind (again) by cmic