summaryrefslogtreecommitdiffhomepage
path: root/dlang/src/write/epub.d
diff options
context:
space:
mode:
Diffstat (limited to 'dlang/src/write/epub.d')
-rw-r--r--dlang/src/write/epub.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlang/src/write/epub.d b/dlang/src/write/epub.d
index 3765267..0f3131c 100644
--- a/dlang/src/write/epub.d
+++ b/dlang/src/write/epub.d
@@ -38,7 +38,7 @@ import write.html;
import write.zip;
/+ ↓ a note's mark, a number or a run of stars or pluses +/
-private static note_mark = ctRegex!(`【(?P<num>\d+|(?:[*]|[+])+)\s`, "mg");
+private static note_mark = ctRegex!(`【(?P<num>\d+|[*+]+[0-9]*)\s`, "mg");
/+ ↓ an anchor the markup placed in the text +/
private static inline_anchor = ctRegex!(`┃(?P<anchor>\S+?)┃`, "mg");