Skip to content

Commit

Permalink
Merge pull request PrismJS#388 from lvgunst/prism-http-case-insensitive
Browse files Browse the repository at this point in the history
Make HTTP response-status case-insensitive
  • Loading branch information
apfelbox committed Nov 6, 2014
2 parents 144adf1 + ac41a8d commit 3e9491d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Prism.languages.http = {
pattern: /^HTTP\/1.[01] [0-9]+.*/g,
inside: {
// Status, e.g. 200 OK
property: /[0-9]+[A-Z\s-]+$/g
property: /[0-9]+[A-Z\s-]+$/ig
}
},
// HTTP header name
Expand Down
2 changes: 1 addition & 1 deletion components/prism-http.min.js

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

0 comments on commit 3e9491d

Please sign in to comment.