pinclub/pinclub

View on GitHub
public/libs/code-prettify/lang-go.js

Summary

Maintainability
A
0 mins
Test Coverage
PR.registerLangHandler(PR.createSimpleLexer([
  ["pln", /^[\t\n\r \xa0]+/, null, "\t\n\r �\xa0"],
  ["pln", /^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])+(?:'|$)|`[^`]*(?:`|$))/, null, "\"'"]
], [
  ["com", /^(?:\/\/[^\n\r]*|\/\*[\S\s]*?\*\/)/],
  ["pln", /^(?:[^"'/`]|\/(?![*/]))+/]
]), ["go"]);