Skip to content

Commit

Permalink
C-like: removed unused 'ignore' pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Jul 10, 2015
1 parent 15760e1 commit b6535dd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion components/prism-clike.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ Prism.languages.clike = {
},
'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/,
'operator': /[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|~|\^|%/,
'ignore': /&(lt|gt|amp);/i,
'punctuation': /[{}[\];(),.:]/
};
2 changes: 1 addition & 1 deletion components/prism-clike.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion prism.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ Prism.languages.clike = {
},
'number': /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/,
'operator': /[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|~|\^|%/,
'ignore': /&(lt|gt|amp);/i,
'punctuation': /[{}[\];(),.:]/
};

Expand Down

0 comments on commit b6535dd

Please sign in to comment.