Skip to content

Commit

Permalink
Merge pull request #9 from fkie-cad/SREC_MIME_matching_changes
Browse files Browse the repository at this point in the history
optional S0 header, hence string to regex matching
  • Loading branch information
jstucke authored Sep 6, 2019
2 parents 6ac635b + c7a1bbd commit edbf094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fact_helper_file/mime/custom_mime_encoding
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
!:mime firmware/intel-hex

# Motorola S-Record
0 string S0
>2 regex [0-9A-F]{8,}$ Motorola S-Record; binary data in text format
0 string S
>1 regex [0-3][0-9A-F]{8,}$ Motorola S-Record; binary data in text format
!:mime firmware/srecord

# Tektronik HEX file format
Expand Down

0 comments on commit edbf094

Please sign in to comment.