web_reg_save_param_ex 用法

帮助文档中说:

web_reg_save_param_ex replaces the deprecated web_reg_save_param.

web_reg_save_param_ex可代替web_reg_save_param

举例:

 web_reg_save_param_ex(
  "ParamName=CodeParmTemp",
  "LB=<input type=\"checkbox\" id=\"chkItem_",
  "RB/RE=\" name=\"chkItem_......\"\r\n                                                            value='1'  /",
  "Ordinal=All",
  SEARCH_FILTERS,
  "Scope=Body",
  "RequestUrl=http://secure3.xxx.com/rma/rmaadd.aspx?orderNumber={parmcode}",
  LAST);

-------------------------

The LB or RB and LR arguments to web_reg_save_param_ex can take the following qualiers:

/IC - case insensitive. The boundary matches even if the case of the boundary value is not the same as the case in the string in the buffer.
/RE - The value is a regular expression. See Regular Expressions.
/BIN - The value is escaped binary code. See Entering Binary Code.

 

/IC 和 /BIN 在web_reg_save_param都是有的

/RE 是web_reg_save_param_ex才有  意思是左右边界的值可以使用正则表达式

"RB/RE=\" name=\"chkItem_......\"\r\n    中的......就表示任意字符了。

 

Scope 表示搜索的范围

 

RequestUrl 表示指定的请求(这个我感觉很好,因为一个操作,如点击一个按钮,可能有几个请求链接组成的,通过这个属性可以缩小范围)

 

2011051216351960.jpg

转载于:https://www.cnblogs.com/testbug/archive/2011/05/12/2044552.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值