[gnome-commander] advrename: allow '_' to be a part of the metatag name
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] advrename: allow '_' to be a part of the metatag name
- Date: Sat, 18 Dec 2010 22:31:04 +0000 (UTC)
commit ba56b91df0617792fd7adb2f1b0fe375ddafeb2f
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Dec 18 19:19:52 2010 +0100
advrename: allow '_' to be a part of the metatag name
src/gnome-cmd-advrename-lexer.ll | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-advrename-lexer.ll b/src/gnome-cmd-advrename-lexer.ll
index 98f8033..99d383a 100644
--- a/src/gnome-cmd-advrename-lexer.ll
+++ b/src/gnome-cmd-advrename-lexer.ll
@@ -221,7 +221,7 @@ tag_name {ape}|{audio}|{doc}|{exif}|{file}|{flac}|{id3}|{image}|{iptc}|{pdf}|
fname_template.push_back(p);
}
-\$T\({tag_name}(\.[a-zA-Z][a-zA-Z0-9]+)+(,[^,)]+)*\) {
+\$T\({tag_name}(\.[a-zA-Z][a-zA-Z0-9_]+)+(,[^,)]+)*\) {
gchar **a = g_strsplit_set(yytext+3,",()",0);
guint n = g_strv_length(a); // glib >= 2.6
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]