mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make the find expression for auto-numbering a little more general
This commit is contained in:
parent
288c3a285f
commit
99d7d8dd6f
@ -131,7 +131,7 @@ they look like :code:`<h2>1. Some text</h2>`.
|
|||||||
|
|
||||||
Use it with the find expression::
|
Use it with the find expression::
|
||||||
|
|
||||||
(<h2[^<>]*>)([^<>]+</h2>)
|
(?s)(<h2[^<>]*>)(.+?</h2>)
|
||||||
|
|
||||||
Place the cursor at the top of the file and click :guilabel:`Replace all`. This
|
Place the cursor at the top of the file and click :guilabel:`Replace all`. This
|
||||||
function uses another of the useful extra arguments to ``replace()``: the
|
function uses another of the useful extra arguments to ``replace()``: the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user