diff options
author | 2024-07-24 11:36:45 +0200 | |
---|---|---|
committer | 2024-07-24 11:36:45 +0200 | |
commit | 3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e (patch) | |
tree | 0ad7721f42d1d723571cfd5199151637412c3a39 | |
parent | 9f731dbe32b66533839c7fb8e6c3518429106e5b (diff) | |
download | properties-3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e.tar.gz properties-3c8bbefdf6ca91afa82b725d98c0a7c977b1d88e.zip |
Ignore lines with only spaces or tabs
-rw-r--r-- | properties.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/properties.l b/properties.l index 4103d16..7728a91 100644 --- a/properties.l +++ b/properties.l @@ -8,5 +8,6 @@ ^[ \t]*[a-zA-Z0-9\.]* yylval.value = strdup(yytext); return KEY; . yylval.value = strdup(yytext); return VALUE; \n* ; +^[ \t]*/\r?\n ; %% |