Commits

Anonymous committed b1dab06

Fixed the REBOL preface so it could contain 'rebol' word

Comments (0)

Files changed (1)

pygments/lexers/other.py

 
     tokens = {
 		'root': [
-			(r'REBOL', Generic.Strong, 'script'),
-			(r'[^R]+', Comment)
+			(r'[^R]+', Comment),
+			(r'REBOL\s+\[', Generic.Strong, 'script'),
+			(r'R', Comment)
 		],
         'script': [
             (r'\s+', Text),