From: John Mandereau Date: Sat, 6 Dec 2008 13:29:45 +0000 (+0100) Subject: Docs: hack HTML regexp again X-Git-Tag: release/2.12.0-1~13^2~32^2~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0330b3f706b85702ef8b563707e81de46cb39939;p=lilypond.git Docs: hack HTML regexp again --- diff --git a/buildscripts/html-gettext.py b/buildscripts/html-gettext.py index 6920e50d22..ccfe6937c0 100644 --- a/buildscripts/html-gettext.py +++ b/buildscripts/html-gettext.py @@ -83,9 +83,10 @@ def texi2html_title_gettext (m): return '' + _ (m.group (1)) + double_punct_char_separator + ': ' \ + m.group (2) + _ (m.group (3)) + '' -a_href_re = re.compile ('(?s)[^>]*?href="[\\w.#-_]+"[^>]*>)(?P)?\ -(?PAppendix )?(?P[A-Z0-9.]+ | (?:<){1,2} | [^:]+?: | |)\ -(?P.+?)(?P(?(code)|))(?P| (?:>){1,2} | |):?') +a_href_re = re.compile ('(?s)[^>]*?href="[\\w.#-_]+"[^>]*?>)(?P)?\ +(?PAppendix )?(?P[A-Z0-9.]+ | (?:<){1,2} | [^>:]+?: | |)\ +(?P(?:|||[^>])+?)(?P(?(code)|))\ +(?P (?:>){1,2} | |):?') def a_href_gettext (m): s = ''