Visitor.
142 views

invalid regular expression, why?

Why this regexp invalid? Сhecked on the site regexp101, it works

So, this func

    web_reg_save_param_regexp(
        "ParamName=dsc",
        "RegExp=dsc=(.*?);",
        "Ordinal=1",
        SEARCH_FILTERS,
        "Scope=Cookies",
        LAST);

looking here:

Set-Cookie: dsc=8a2c067e3678bf1c78482a35e269f5c926788588bba3174078a2f07de27beb38; Path=/; Expires=Tue, 28 Jan 2020 10:31:20 GMT; Secure
Set-Cookie: lang=ru-RU; Path=/

Loadrunner :
Action.c(79): Error -35055: Invalid regular expression [MsgId: MERR-35055]


Thanks!

 

0 Likes
1 Reply
Highlighted
Visitor.

Action.c(24): pcre_compile error: "this version of PCRE is compiled without UTF support" detected at pattern location:0 [MsgId: MMSG-26000]

how I can enable it?
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.