Skip to content

Commit

Permalink
Kotlin: Regexp simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Oct 22, 2017
1 parent 9726087 commit 12ff8dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-kotlin.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Prism.languages.insertBefore('kotlin', 'string', {
'raw-string': {
pattern: /(["'])\1\1[\s\S]*?\1{3}/,
pattern: /("""|''')[\s\S]*?\1/,
alias: 'string'
// See interpolation below
}
Expand Down
2 changes: 1 addition & 1 deletion components/prism-kotlin.min.js

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

0 comments on commit 12ff8dc

Please sign in to comment.