From a5c1110835dc6b6f15a09d577a87f77adf584b8e Mon Sep 17 00:00:00 2001 From: shoopea Date: Wed, 8 May 2019 19:13:19 +0800 Subject: [PATCH] test --- sql.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sql.go b/sql.go index 7ee443a..77b5bbe 100644 --- a/sql.go +++ b/sql.go @@ -315,6 +315,7 @@ func loadMsgParsingRules() (m map[int]MessageParsingRule, err error) { i.Description = descn i.Rule = rule i.MsgTypeID = msgTypeID + i.re = regexp.MustCompile(rule) m[count] = *i count++ }