Update 09.2.md: 修复代码缩减问题 (#810)

Co-authored-by: qiujinfeng <qiujinfeng@qianxin.com>
This commit is contained in:
邱锦锋
2021-10-23 11:47:34 +08:00
committed by GitHub
parent 28299b8bf8
commit 684ee99fcc

View File

@@ -22,11 +22,13 @@ ok, _ := regexp.MatchString(pat, searchIn)
```go ```go
package main package main
import ( import (
"fmt" "fmt"
"regexp" "regexp"
"strconv" "strconv"
) )
func main() { func main() {
//目标字符串 //目标字符串
searchIn := "John: 2578.34 William: 4567.23 Steve: 5632.18" searchIn := "John: 2578.34 William: 4567.23 Steve: 5632.18"