Skip to main content

函数原型

func (s1 string) versionLess(s2 string) bool

参数介绍

举例

  • Response
  • 匹配语句:"(?P<version>\\d\\.\\d\\.\\d\\.)".submatch(response.body_string)["version"].versionLess("1.8.2")
  • 输出结果:true