[gnome-commander/gcmd-1-2-8] advrename: concatenate consecutive non-[%$] chars into single TEXT chunk



commit 834f7817ce822b54a3b3391624ddc7cc91f6ce3d
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Oct 23 00:46:04 2009 +0200

    advrename: concatenate consecutive non-[%$] chars into single TEXT chunk

 src/gnome-cmd-advrename-lexer.ll |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-advrename-lexer.ll b/src/gnome-cmd-advrename-lexer.ll
index 7e509bd..c9f9bd8 100644
--- a/src/gnome-cmd-advrename-lexer.ll
+++ b/src/gnome-cmd-advrename-lexer.ll
@@ -290,6 +290,8 @@ tag_name    {ape}|{audio}|{doc}|{exif}|{file}|{flac}|{id3}|{image}|{iptc}|{pdf}|
                                 }
 
 %[Dnt]                          yytext[1] = '%';  ECHO;
+
+[^%$]+                          ECHO;                                      // concatenate consecutive non-[%$] chars into single TEXT chunk
 %%
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]