Skip to content

Commit

Permalink
Update prism-git.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lgiraudel committed Aug 31, 2014
1 parent e5f83ca commit 0a37552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/prism-git.js
Expand Up @@ -51,8 +51,8 @@ Prism.languages.git = {
/*
* Regexp to match the changed lines in a git diff output. Check the example above.
*/
'deleted': /^-[^-][^\n]+$/m,
'inserted': /^\+[^+][^\n]+$/m,
'deleted': /^-(?!-).+$/m,
'inserted': /^\+(?!\+).+$/m,

/*
* Match a "commit [SHA1]" line in a git log output.
Expand Down

0 comments on commit 0a37552

Please sign in to comment.