|
@@ -196,7 +196,7 @@ func FindKv(con, tag string, from int) (m *SortMap) {
|
|
|
v = str1
|
|
|
if k0 < len(strs)-1 {
|
|
|
s2 := u.TrimLRSpace(strings.Join(strs[k0+1], ""), "")
|
|
|
- if len([]rune(s2)) < 10 && !Key.MatchString(s2) {
|
|
|
+ if len([]rune(s2)) < 10 && !regexp.MustCompile("^[0-9]+[、]+$").MatchString(s2) && !Key.MatchString(s2) {
|
|
|
v += s2
|
|
|
k0++
|
|
|
}
|
|
@@ -334,6 +334,9 @@ func FindKv(con, tag string, from int) (m *SortMap) {
|
|
|
}
|
|
|
|
|
|
func keydetail(k, v string, m *SortMap, tag string, pos int, strs [][]string, matchMap map[string]map[string]bool, from int) {
|
|
|
+ if regexp.MustCompile("^[0-9]+[、]+$").MatchString(v){
|
|
|
+ return
|
|
|
+ }
|
|
|
k = space.ReplaceAllString(k, "")
|
|
|
if len([]rune(k)) > 1 {
|
|
|
if len([]rune(k)) < 5 && strings.HasPrefix(k, "联系") || ContactInfoMustReg.MatchString(k) {
|