don't eat too many newlines. need a real parser here.
This commit is contained in:
parent
994bf806b1
commit
4139190fc5
2
fun.go
2
fun.go
|
@ -156,7 +156,7 @@ func herdofemus(noise string) []Emu {
|
|||
|
||||
var re_bolder = regexp.MustCompile(`(^|\W)\*\*([\w\s,.!?']+)\*\*($|\W)`)
|
||||
var re_italicer = regexp.MustCompile(`(^|\W)\*([\w\s,.!?']+)\*($|\W)`)
|
||||
var re_bigcoder = regexp.MustCompile("\n?```\n?((?s:.*?))\n?```\n?")
|
||||
var re_bigcoder = regexp.MustCompile("```\n?((?s:.*?))\n?```")
|
||||
var re_coder = regexp.MustCompile("`([^`]*)`")
|
||||
|
||||
func markitzero(s string) string {
|
||||
|
|
Loading…
Reference in New Issue