mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-17 20:58:08 +02:00
fix(dns): highlight domain names as NameClass (#886)
This commit is contained in:
parent
07a90a93dd
commit
b5afdeeade
@ -27,7 +27,7 @@
|
||||
<rule pattern="\b([\w\d.-])+\.($|\s)">
|
||||
<token type="NameProperty"/>
|
||||
</rule>
|
||||
<rule pattern="^(@|[\w\d-]+)">
|
||||
<rule pattern="([\w\d\.-]+\.[a-z-]{2,24}\.?|^(@|[\w\d-]+))">
|
||||
<token type="NameClass"/>
|
||||
</rule>
|
||||
<rule pattern="^\$(TTL|GENERATE|INCLUDE|ORIGIN)">
|
||||
|
Loading…
x
Reference in New Issue
Block a user