[File-cvs] CVS commit: file/magic/Magdir

Christos Zoulas christos at zoulas.com
Mon Apr 18 21:38:10 UTC 2022

Module Name:	file
Committed By:	christos
Date:		Mon Apr 18 21:38:10 UTC 2022

Modified Files:
	file/magic/Magdir: dataone

Log Message:
>From Dirk Mueller:
* regex rules need literal dots escaped, otherwise they are considered
  any character
* literal search strings can be searched using search rather than the
  much more expensive regex
* use standard xml declaration search as used in other format matchers
* only match the first 1024 bytes, the information we look for should
  be in the very first tag
* remove unnecessary parentheses

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 file/magic/Magdir/dataone

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the File-cvs mailing list