aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconf/format-options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/format-options.py b/conf/format-options.py
index 9531378fa..592bf6706 100755
--- a/conf/format-options.py
+++ b/conf/format-options.py
@@ -217,7 +217,7 @@ class TagReplacer:
return re.compile(r'''
(^|\s|(?P<brack>[(\[])) # prefix with optional opening bracket
(?P<tag>''' + tag + r''') # start tag
- (?P<text>\w|\S.*?\S) # text
+ (?P<text>\S|\S.*?\S) # text
''' + tag + r''' # end tag
(?P<punct>([.,!:)\]]|\(\d+\))*) # punctuation
(?=$|\s) # suffix (don't consume it so that subsequent tags can match)