UNPKG

prism-react-editor

Version:

Lightweight, extensible code editor component for React apps

14 lines (13 loc) 553 B
import { l as languages } from "../../index-k28m3HFc.js"; languages.hoon = { "comment": /::.*/, "string": { pattern: /"(?:\\.|[^\\"])*"|'(?:\\.|[^\\'])*'/g, greedy: true }, "constant": /%(?:\.[ny]|[\w-]+)/, "class-name": /@(?:[a-z\d-]*[a-z\d])?|\*/i, "function": /(?:\+[+-] )?(?:[a-z](?:[a-z\d-]*[a-z\d])?)/, "keyword": /\.[+*=?^]|![.:?!=<>]|=[.,:;~?|^<>/*+-]|\?[|.:^<>&~=@!+-]|\|[$_%.:^~*=@?-]|\+[|$+*]|:[_^~*+-]|%[_.:^~*=+]|\^[|.:&~*=?+-]|\$[|_%:<>^&~@=?-]|;[<:;/~*=+]|~[%&|$_?!=<>/+]|--|==/ }; //# sourceMappingURL=hoon.js.map