aboutsummaryrefslogtreecommitdiffstats
path: root/screenplain/parsers/fountain.py
diff options
context:
space:
mode:
Diffstat (limited to 'screenplain/parsers/fountain.py')
-rw-r--r--screenplain/parsers/fountain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenplain/parsers/fountain.py b/screenplain/parsers/fountain.py
index f7093cb..15b0755 100644
--- a/screenplain/parsers/fountain.py
+++ b/screenplain/parsers/fountain.py
@@ -28,7 +28,7 @@ title_page_value_re = re.compile(r'(?:\s{3,}|\t)(.+)')
centered_re = re.compile(r'\s*>\s*(.*?)\s*<\s*$')
dual_dialog_re = re.compile(r'^(.+?)(\s*\^)$')
-slug_re = re.compile(r'(?:(\.)\s*)?(\S.*?)\s*$')
+slug_re = re.compile(r'(?:(\.)(?=[^.])\s*)?(\S.*?)\s*$')
scene_number_re = re.compile(r'(.*?)\s*(?:#([\w\-.]+)#)\s*$')
section_re = re.compile(r'^(#{1,6})\s*([^#].*)$')
transition_re = re.compile(r'(>?)\s*(.+?)(TO:)?$')