summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
7a1d085)
The strength of magic matches is based on the length of the first line.
Boost this by `100` by default, but add an additional `10` for each
byte in additional match lines. This should provide a more comfortable
set of default strengths to work with.
0 string /*css CSS text
!:mime text/css
0 string /*css CSS text
!:mime text/css
0 string @charset\ " CSS text
!:mime text/css
0 string @charset\ " CSS text
!:mime text/css
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string @charset\ " CSS text
!:mime text/css
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string @charset\ " CSS text
!:mime text/css
0 string #!js Javascript text
!:mime text/javascript
0 string #!js Javascript text
!:mime text/javascript
0 string #!javascript Javascript text
!:mime text/javascript
0 string #!javascript Javascript text
!:mime text/javascript
0 string %% record-jar text
!:mime text/record-jar
0 string %% record-jar text
!:mime text/record-jar
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string %% record-jar text
!:mime text/record-jar
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string %% record-jar text
!:mime text/record-jar
0 string #!tsv TSV text
!:mime text/tab-separated-values
0 string #!tsv TSV text
!:mime text/tab-separated-values
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string #!tsv TSV text
!:mime text/tab-separated-values
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string #!tsv TSV text
!:mime text/tab-separated-values
0 string \<?xml XML data
!:mime application/xml
0 string \<?xml XML data
!:mime application/xml
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string \<?xml XML data
!:mime application/xml
0 byte 0xEF
>1 byte 0xBB
>>2 byte 0xBF
>>>3 string \<?xml XML data
!:mime application/xml