cherry-pick.FILE5_38-99-g2f3e66e1.fix-escaping-of-periods.patch 531 B

123456789101112131415
  1. Subject: Fix escaping of periods
  2. Origin: FILE5_38-99-g2f3e66e1 <https://github.com/file/file/commit/FILE5_38-99-g2f3e66e1>
  3. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  4. Date: Mon Apr 27 01:50:36 2020 +0000
  5. Bug-Debian: https://bugs.debian.org/949878
  6. --- a/magic/Magdir/rst
  7. +++ b/magic/Magdir/rst
  8. @@ -7,5 +7,5 @@
  9. >&0 regex/256 \^[\=]+$
  10. >>&0 search/512 :Author: ReStructuredText file
  11. >>&0 default x
  12. ->>>&0 regex/512 \^\.\.[A-Za-z] ReStructuredText file
  13. +>>>&0 regex/512 \^\\.\\.[A-Za-z] ReStructuredText file
  14. !:ext rst