Skip to content

Commit

Permalink
Highlight versions with -TRIAL suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Aug 31, 2012
1 parent 8a1d9e8 commit ba3b7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/static/js/shBrushCPANChanges.js
Expand Up @@ -28,7 +28,7 @@
this.regexList = [
// these classes/colors are totally arbitrary
{ regex: /^\{\{\$NEXT\}\}$/gm, css: 'color3' }, // placeholder (oops)
{ regex: /^v?([0-9._]+)\s+(.+)/gm, css: 'constants' }, // version/date
{ regex: /^v?([0-9._]+)(-TRIAL)?\s+(.+)/gm, css: 'constants' }, // version/date
{ regex: /^\s+\[.+?\]/gm, css: 'value' }, // group
{ regex: /^\s+[-*]/gm, css: 'functions' }, // item marker
{ regex: /^[^v0-9].+\n(?=\nv?[0-9_.])/g, css: 'preprocessor' } // preamble
Expand Down

0 comments on commit ba3b7bf

Please sign in to comment.