tilde.club/~brennen/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
711 B

  1. if (! this.sh_languages) {
  2. this.sh_languages = {};
  3. }
  4. sh_languages['changelog'] = [
  5. [
  6. [
  7. /[\d]{2,4}-?[\d]{2}-?[\d]{2}/g,
  8. 'sh_date',
  9. 1,
  10. 1
  11. ],
  12. [
  13. /(^[ \t]+)(\*)([ \t]+)((?:[^:]+\:)?)/g,
  14. ['sh_normal', 'sh_symbol', 'sh_normal', 'sh_file'],
  15. -1
  16. ],
  17. [
  18. /(^[ \t]+)((?:[^:]+\:)?)/g,
  19. ['sh_normal', 'sh_file'],
  20. -1
  21. ]
  22. ],
  23. [
  24. [
  25. /$/g,
  26. null,
  27. -2
  28. ],
  29. [
  30. /(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,
  31. 'sh_url',
  32. -1
  33. ],
  34. [
  35. /(?:[A-Za-z0-9_]|[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-])+/g,
  36. 'sh_name',
  37. -1
  38. ]
  39. ]
  40. ];