all repos — honk @ 1d049e80a8a03d7b9b3ff17bdc92cf6bd2a5e9da

my fork of honk

should allow - in bold and ital
Ted Unangst tedu@tedunangst.com
Wed, 15 May 2019 14:39:33 -0400
commit

1d049e80a8a03d7b9b3ff17bdc92cf6bd2a5e9da

parent

ab8c0c121d9664ed38b7ffb7fc7fb57b914362d7

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M fun.gofun.go

@@ -147,8 +147,8 @@ }

return emus } -var re_bolder = regexp.MustCompile(`(^|\W)\*\*([\w\s,.!?']+)\*\*($|\W)`) -var re_italicer = regexp.MustCompile(`(^|\W)\*([\w\s,.!?']+)\*($|\W)`) +var re_bolder = regexp.MustCompile(`(^|\W)\*\*([\w\s,.!?'-]+)\*\*($|\W)`) +var re_italicer = regexp.MustCompile(`(^|\W)\*([\w\s,.!?'-]+)\*($|\W)`) var re_bigcoder = regexp.MustCompile("```\n?((?s:.*?))\n?```") var re_coder = regexp.MustCompile("`([^`]*)`")