mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Make parsing of strings more flexible.
- Make use of building expressions.
This commit is contained in:
parent
7fa4c164ab
commit
be3ce75f5d
1 changed files with 5 additions and 5 deletions
|
@ -19,11 +19,11 @@ GQueue *queue = NULL;
|
||||||
yylloc->first_line = yylloc->last_line; yylloc->first_column = yylloc->last_column;\
|
yylloc->first_line = yylloc->last_line; yylloc->first_column = yylloc->last_column;\
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
WHITESPACE [ \t]
|
WHITESPACE [[:space:]]
|
||||||
WORD [_\-a-zA-Z0-9]+
|
WORD [[:alnum:]-]+
|
||||||
STRING [ \t_\-a-zA-Z0-9]+
|
STRING [[:print:]]+
|
||||||
HEX [0-9a-fA-F]
|
HEX [[:xdigit:]]
|
||||||
NUMBER [0-9]
|
NUMBER [[:digit:]]
|
||||||
|
|
||||||
%x PROPERTIES
|
%x PROPERTIES
|
||||||
%x NAMESTR
|
%x NAMESTR
|
||||||
|
|
Loading…
Add table
Reference in a new issue