The highest tagged major version is
v2.
package
Version:
v1.3.12
Opens a new window with list of versions in this module.
Published: Mar 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
StringToRegexp
PS: 主要是处理 传参str 中的"*".
@param str (1) 可以为"",此时:第1个返回值将匹配任意字符串,第2个返回值为nil;
(2) 不会进行trim操作;
(3) 不同于原生的 regexp.Compile().
@param borderArgs 边界匹配
Source Files
¶
Click to show internal directories.
Click to hide internal directories.