all repos — honk @ 7cb702aee4fb50285964ceb69434bfec9a686762

my fork of honk

allow a few more chars in bold
Ted Unangst tedu@tedunangst.com
Thu, 26 Sep 2019 10:31:53 -0400
commit

7cb702aee4fb50285964ceb69434bfec9a686762

parent

5ce2b2f040250e0dd7b1d887d749a3524a0a344f

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

jump to
M fun.gofun.go

@@ -324,8 +324,8 @@ }

honk.Noise = re_memes.ReplaceAllStringFunc(honk.Noise, repl) } -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?```\n?") var re_coder = regexp.MustCompile("`([^`]*)`") var re_quoter = regexp.MustCompile(`(?m:^> (.*)\n?)`)