HEX
Server: Apache
System: Linux iad1-shared-e1-13 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: dh_x7ke6i (5503775)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/share/highlight/langDefs/less.lang
Description="LESS"

Identifiers=[[ [a-zA-Z_\-][\w\-]* ]]

Digits=[=[ \#[[:xdigit:]]{3,6}|\d*\.?\d+?\w* ]=]

Keywords={
  { Id=1,
    Regex=[[@\{[\w\-]+?\}]],
  },
  { Id=2,
    Regex=[[\$[\w\-]+]],
  },
    { Id=3,
    Regex=[[@[\w\-]+]],
  },
  { Id=4,
    Regex=[[([\w\-]+)\s*\(]],
  },
}

Strings={
  Delimiter=[["|']],
  Escape= [=[ \\[[:xdigit:]]{4} ]=],
}

IgnoreCase=false

Comments = {
   { Block=true,
     Nested=false,
     Delimiter = { [[\/\*]], [[\*\/]] }
   },
   {
     Block=false,
     Delimiter = { [[//]] }
   }
}

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\#]]