Skip to content

Commit

Permalink
Smalltalk: Regexp simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Oct 22, 2017
1 parent c60b7d4 commit 41a2c76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-smalltalk.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Prism.languages.smalltalk = {
'string': /'(?:''|[^'])+'/,
'symbol': /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
'block-arguments': {
pattern: /(\[\s*):[^\[|]*?\|/,
pattern: /(\[\s*):[^\[|]*\|/,
lookbehind: true,
inside: {
'variable': /:[\da-z]+/i,
Expand Down
2 changes: 1 addition & 1 deletion components/prism-smalltalk.min.js

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

0 comments on commit 41a2c76

Please sign in to comment.