diff --git a/src/calibre/gui2/filename_pattern.ui b/src/calibre/gui2/filename_pattern.ui index cd43c297d3..1c7125129c 100644 --- a/src/calibre/gui2/filename_pattern.ui +++ b/src/calibre/gui2/filename_pattern.ui @@ -6,7 +6,7 @@ 0 0 335 - 487 + 540 @@ -16,7 +16,13 @@ - <p>Set a regular expression pattern to use when trying to guess ebook metadata from filenames. <p>A <a href="http://docs.python.org/lib/re-syntax.html">reference</a> on the syntax of regular expressions is available.<p>Use the <b>Test</b> functionality below to test your regular expression on a few sample filenames. + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Set a regular expression pattern to use when trying to guess ebook metadata from filenames. </p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A <a href="http://docs.python.org/lib/re-syntax.html"><span style=" text-decoration: underline; color:#0000ff;">reference</span></a> on the syntax of regular expressions is available.</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Use the <span style=" font-weight:600;">Test</span> functionality below to test your regular expression on a few sample filenames. The group names for the various metadata entries are documented in tooltips.</p></body></html> Qt::RichText @@ -39,8 +45,6 @@ - re - label @@ -89,7 +93,7 @@ - Regular expression group name (?P<title>) + Regular expression (?P&lt;title&gt;) No match @@ -109,7 +113,7 @@ - Regular expression group name (?P<authors>) + Regular expression (?P<authors>) No match @@ -129,7 +133,7 @@ - Regular expression group name (?P<series>) + Regular expression (?P<series>) No match @@ -149,7 +153,7 @@ - Regular expression group name (?P<series_index>) + Regular expression (?P<series_index>) No match @@ -169,7 +173,7 @@ - Regular expression group name (?P<isbn>) + Regular expression (?P<isbn>) No match