summaryrefslogtreecommitdiff
path: root/re.go
diff options
context:
space:
mode:
Diffstat (limited to 're.go')
-rw-r--r--re.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/re.go b/re.go
index 9406b79..341488c 100644
--- a/re.go
+++ b/re.go
@@ -1,17 +1,11 @@
package main
import (
- "log"
"regexp"
"strings"
)
func re(s, r string, global bool) string {
- defer func() {
- if r := recover(); r != nil {
- log.Println("panic", r)
- }
- }()
// min: at least two separators
if len(s) < 2 {
return ""