1
Prism.languages.matlab = {
2
// We put string before comment, because of printf() patterns that contain "%"
3
'string': /\B'(?:''|[^'\n])*'/,
8
// FIXME We could handle imaginary numbers as a whole
9
'number': /\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,
10
'keyword': /\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,
11
'function': /(?!\d)\w+(?=\s*\()/,
12
'operator': /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,
13
'punctuation': /\.{3}|[.,;\[\](){}!]/
b'\\ No newline at end of file'