# Bcc: control tags 516143 + pending thanks Hi Delport,
Thank you for the bug report and the patch. On 09/02/19 16:37 +0200, J.P. Delport said ... > I think that adding another regular expression to match the output of > "file" for XML files could be appropriate, e.g. in istextfile: > > xml_re = re.compile('\\bXML\\b') > > and then test for all 3 options: > > return bool(text_re.search(stdout) or empty_re.match(stdout) or > xml_re.search(stdout)) Fixed in SVN r12486, the fix will be available with the next upload to the archive. Cheers, Giridhar -- Y Giridhar Appaji Nag | http://people.debian.org/~appaji/
signature.asc
Description: Digital signature