in reply to parsing a multi-line pattern and replacing

If your file is XML or HTML, use a proper parser. For example, XML::XSH2:
open inputfile ; for //default set text() 'enabled' ; save :b ;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ