Using variable in regex param

Hello,

I am trying to a parameter in my regex save function, but it is not working. It doesn't seem to evaluate as a parameter. Here is the code:

	web_reg_save_param_regexp(
		"ParamName=TestParam",
		"RegExp=([0-9]*).*>{MyParam}",
		SEARCH_FILTERS,
		"Scope=Body",
		"IgnoreRedirections=Yes",
		"RequestUrl=*/Default.aspx*",
		LAST);

I'm guessing it's because it's part of the string, but just want to be sure. Is there a good way to do this?

Thanks,

Mat

Tags: