+4
−4
Loading
In a few tools or languages, slash(/) is maybe a delimiter by default in regex. An unescaped delimiter must be escaped with a backslash (\). Otherwise the pattern of regular expression will be error when delimiter is slash(/) in a few special environment, i.e. in MinGW32 git bash. Signed-off-by:Dayu Liu <liu.dayu@zte.com.cn> Change-Id: I73b556416b98e135eb240078dcc68f80e08c5e74 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2488 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Seth Howell <seth.howell@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>