mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 02:24:02 +02:00
Fix semi-colon, brackets after % not being highlighted correctly
This commit is contained in:
parent
20e3d4fe98
commit
91cad6bbcf
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@
|
|||
(r'\!important', 'preproc', 'important'),
|
||||
(r'\#[a-zA-Z0-9]{1,6}', 'number', 'hexnumber'),
|
||||
(r'[\.-]?[0-9]*[\.]?[0-9]+(em|px|pt|pc|in|mm|cm|ex|s|rem)\b', 'number', 'dimension'),
|
||||
(r'[\.-]?[0-9]*[\.]?[0-9]+%($|[ \n\t\f\r;}{()\[\]])', 'number', 'dimension'),
|
||||
(r'[\.-]?[0-9]*[\.]?[0-9]+%(?=$|[ \n\t\f\r;}{()\[\]])', 'number', 'dimension'),
|
||||
(r'-?[0-9]+', 'number', 'number'),
|
||||
(r'[~\^\*!%&<>\|+=@:,./?-]+', 'operator', 'operator'),
|
||||
(r'[\[\]();]+', 'bracket', 'bracket'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue