ocaml quoted-strings
This commit is contained in:
parent
47ba36c66e
commit
5396c288a0
|
@ -29,6 +29,7 @@ provide-module ocaml %{
|
|||
add-highlighter shared/ocaml regions
|
||||
add-highlighter shared/ocaml/code default-region group
|
||||
add-highlighter shared/ocaml/string region (?<!')" (?<!\\)(\\\\)*" fill string
|
||||
add-highlighter shared/ocaml/quotedstring region -match-capture %"\{(\w*)\|" %"\|(\w*)\}" fill string
|
||||
add-highlighter shared/ocaml/comment region -recurse \Q(* \Q(* \Q*) fill comment
|
||||
|
||||
add-highlighter shared/ocaml/code/char regex %{\B'([^'\\]|(\\[\\"'nrtb])|(\\\d{3})|(\\x[a-fA-F0-9]{2})|(\\o[0-7]{3}))'\B} 0:value
|
||||
|
|
Loading…
Reference in New Issue
Block a user