mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 04:13:03 +00: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;\
|
||||
}
|
||||
%}
|
||||
WHITESPACE [ \t]
|
||||
WORD [_\-a-zA-Z0-9]+
|
||||
STRING [ \t_\-a-zA-Z0-9]+
|
||||
HEX [0-9a-fA-F]
|
||||
NUMBER [0-9]
|
||||
WHITESPACE [[:space:]]
|
||||
WORD [[:alnum:]-]+
|
||||
STRING [[:print:]]+
|
||||
HEX [[:xdigit:]]
|
||||
NUMBER [[:digit:]]
|
||||
|
||||
%x PROPERTIES
|
||||
%x NAMESTR
|
||||
|
|
Loading…
Reference in a new issue