Index: lib/src/prism/components/prism-matlab.js |
diff --git a/lib/src/prism/components/prism-matlab.js b/lib/src/prism/components/prism-matlab.js |
index b75b10994f053a437063f80784feaac56a7e090c..e210edb83ca2645db1ab9b85b07008b56fb00661 100644 |
--- a/lib/src/prism/components/prism-matlab.js |
+++ b/lib/src/prism/components/prism-matlab.js |
@@ -1,9 +1,6 @@ |
Prism.languages.matlab = { |
// We put string before comment, because of printf() patterns that contain "%" |
- 'string': { |
- pattern: /(^|\W)'(?:''|[^'\n])*'/, |
- lookbehind: true |
- }, |
+ 'string': /\B'(?:''|[^'\n])*'/, |
'comment': [ |
/%\{[\s\S]*?\}%/, |
/%.+/ |