Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 36 lines (28 sloc) 1.0 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language _name="YAML" version="1.0" _section="Others" mimetypes="text/x-yaml">

  <escape-char>\</escape-char>

  <string _name="String" style="String" end-at-line-end="FALSE">
    <start-regex>"</start-regex>
    <end-regex>"</end-regex>
  </string>

  <string _name="Constant String" style="String" end-at-line-end="FALSE">
    <start-regex>'</start-regex>
    <end-regex>'</end-regex>
  </string>

  <line-comment _name="Line Comment" style="Comment">
    <start-regex>#</start-regex>
  </line-comment>

  <pattern-item _name="Scalar Value" style="Scalar Value">
    <regex>\w*</regex>
  </pattern-item>

  <pattern-item _name="List Item Value" style="List Item Value">
    <regex>^\- .*</regex>
  </pattern-item>

  <pattern-item _name="Key" style="Key">
    <regex>^[\w_]*:</regex>
  </pattern-item>

  <pattern-item _name="Inner Key" style="Inner Key">
    <regex>\W[\w_]*:</regex>
  </pattern-item>
</language>
Something went wrong with that request. Please try again.