mirror of
https://gitee.com/johng/gf.git
synced 2024-12-05 13:48:09 +08:00
12 lines
191 B
Go
12 lines
191 B
Go
package main
|
|
|
|
import (
|
|
"gitee.com/johng/gf/g/util/gregx"
|
|
"fmt"
|
|
)
|
|
|
|
|
|
func main() {
|
|
s, _ := gregx.Replace(`\w`, []byte("/user/list/page/2"), []byte("-"))
|
|
fmt.Println(string(s))
|
|
} |