From 0330b3f706b85702ef8b563707e81de46cb39939 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Sat, 6 Dec 2008 14:29:45 +0100 Subject: [PATCH] Docs: hack HTML regexp again --- buildscripts/html-gettext.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 = '' -- 2.39.2