Skip to main content

函数原型

func (s1 string) bmatches(b1 bytes) bool

参数介绍

举例

  • Response
  • 匹配语句:"root:.*?:[0-9]*:[0-9]*:".bmatches(response.body)
  • 输出结果:true
  • 匹配语句:"Accept-Enco.*".bmatches(response.raw)
  • 输出结果:true