Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. ## Here is an example for Python.
  2. ##
  3. syntax "python" "\.py$"
  4. icolor brightyellow "def [0-9A-Z_]+"
  5. color brightcyan "\(" "\)"
  6. color brightcyan "\{" "\}"
  7. color brightcyan ".close\(" ".write\(" ".open\(" ".read\(" ":" ".append\(" ".writelines\("
  8. color brightgreen "\<(print)\>"
  9. color brightblue "\<(and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|raise|return|try|while)\>"
  10. color brightgreen "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
  11. color brightgreen "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
  12. color brightblue "="
  13. color brightwhite start=""""[^"]" end=""""" start="'''[^']" end="'''"
  14. color white "#.*$"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement