From b4ef42673677c90fa4c71e983a2b0d901f5812e0 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 25 Mar 2013 22:59:42 +0100 Subject: [PATCH] Analyse syntaxique correcte des titres des chansons --- songbook.py | 12 +++++------- utils/plastex.py | 33 ++++++++++++++++++--------------- utils/songs.py | 19 +++++++++++++++++++ 3 files changed, 42 insertions(+), 22 deletions(-) create mode 100644 utils/songs.py diff --git a/songbook.py b/songbook.py index 74e5905e..887799be 100755 --- a/songbook.py +++ b/songbook.py @@ -14,20 +14,19 @@ import platform from utils import recursiveFind from utils.plastex import parsetex -reTitle = re.compile('(?<=beginsong\\{)(.(?