require 'formula' class Devtodo - xmlScan.addPattern(XmlDecl, "<\\?xml.*?>[[:space:]]*"); + xmlScan.addPattern(XmlDecl, "<\\?xml.*\\?>[[:space:]]*"); xmlScan.addPattern(XmlCommentBegin, "