I've had a script running happily in Classic ASP for the past 18+
months with no issues and then all of a sudden, it stops working on my
local machine (XP Pro).
The code in question is:
dim re
set re = new RegExp
str = Replace(str, "+", " ")
re.Pattern = "%([0-9a-fA-F]{2})"
re.Global = True
Response.write re.Replace(str, GetRef("URLDecodeHex"))
I've tracked the error down to the line with the creation of the
RegExp object (set re = new RegExp) and have the error code of #424 -
Microsoft VBScript runtime error.
The code works fine when it's hosted online so I know it's an issue
with my PC but does anyone have any suggestions as to what it could
be? Are there any DLL's I can re-register?
To my knowledge, nothing has changed. No permissions, no changes to
the registry, etc.
Thanks in advance,
Joff