Skip to content

Commit

Permalink
Ini: Fix some regexps + remove unused flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Aug 24, 2015
1 parent aaa90f1 commit 53d5839
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions components/prism-ini.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Prism.languages.ini= {
'comment': /^\s*;.*$/m,
'important': /\[.*?\]/m,
'constant': /^\s*[^\s=]+?(?=[ \t]*=)/m,
'attr-value': {
pattern: /=.*/m,
inside: {
'punctuation': /^[=]/
}
}
Prism.languages.ini= {
'comment': /^[ \t]*;.*$/m,
'important': /\[.*?\]/,
'constant': /^[ \t]*[^\s=]+?(?=[ \t]*=)/m,
'attr-value': {
pattern: /=.*/,
inside: {
'punctuation': /^[=]/
}
}
};
2 changes: 1 addition & 1 deletion components/prism-ini.min.js

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

0 comments on commit 53d5839

Please sign in to comment.