Fixed regex in xmleditor2