Debian Codegraph @

runtime/syntax/reST.yaml

raw
1 filetype: rst
2
3 detect:
4 filename: "\\.rest$|\\.rst$"
5
6 rules:
7 - statement: "\\*\\*[^*]+\\*\\*"
8 - preproc: "::"
9 - constant.string: "`[^`]+`_{1,2}"
10 - constant.string: "``[^`]+``"
11 - identifier: "^\\.\\. .*$"
12 - identifier: "^__ .*$"
13 - type: "^###+$"
14 - type: "^\\*\\*\\*+$"
15 - special: "^===+$"
16 - special: "^---+$"
17 - special: "^\\^\\^\\^+$"
18 - special: "^\"\"\"+$"