"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/n3.lang" (12 May 2020, 695 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 Description="Notation3 (N3), N-Triples, Turtle, SPARQL"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=4,
    8     Regex=[[@\w+|\^\^<[^>]+?>]],
    9   },
   10   { Id=1,
   11     Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-\/\.\+\-\#\@\?\=\_\~\;\,\%\$\&]+>?|[/?]?>]],
   12     Group=0,
   13   },
   14   { Id=2,
   15     Regex=[[(\w+)\:]],
   16     Group=1,
   17   },
   18   { Id=3,
   19     Regex=[[\:(\w+)]],
   20     Group=1,
   21   },
   22   { Id=4,
   23     Regex=[[(?<!\?)\w+]],
   24   },
   25 }
   26 
   27 Strings={
   28   Delimiter=[["""|"]],
   29   RawPrefix="r",
   30   Escape="\\\\[ntvbrfa\\\\\\?'\"]|\\\\\\d{3}|\\\\x[[:xdigit:]]{2}|\\\\u[[:xdigit:]]{4}"
   31 }
   32 
   33 Comments={
   34   { Block=false,
   35     Delimiter= { [[#]] },
   36   },
   37 }
   38 
   39 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
   40 
   41 IgnoreCase=true