ThirdParty/Pygments/pygments/lexers/fortran.py

changeset 6651
e8f3b5568b21
parent 5713
6762afd9f963
equal deleted inserted replaced
6650:1dd52aa8897c 6651:e8f3b5568b21
156 156
157 'nums': [ 157 'nums': [
158 (r'\d+(?![.e])(_[a-z]\w+)?', Number.Integer), 158 (r'\d+(?![.e])(_[a-z]\w+)?', Number.Integer),
159 (r'[+-]?\d*\.\d+([ed][-+]?\d+)?(_[a-z]\w+)?', Number.Float), 159 (r'[+-]?\d*\.\d+([ed][-+]?\d+)?(_[a-z]\w+)?', Number.Float),
160 (r'[+-]?\d+\.\d*([ed][-+]?\d+)?(_[a-z]\w+)?', Number.Float), 160 (r'[+-]?\d+\.\d*([ed][-+]?\d+)?(_[a-z]\w+)?', Number.Float),
161 (r'[+-]?\d+(\.\d*)?[ed][-+]?\d+(_[a-z]\w+)?', Number.Float),
161 ], 162 ],
162 } 163 }
163 164
164 165
165 class FortranFixedLexer(RegexLexer): 166 class FortranFixedLexer(RegexLexer):

eric ide

mercurial