A
Alex
Hi group,
I am using the VBScript RegExp object from an ASP-Page and
I got
the following debugger output, when calling the Replace()
method:
"First-chance exception at 0x77e97c5c in inetinfo.exe:
0xC0000005: Access
violation reading location 0x0000400c."
Otherwise the code is running fine. The result is correct
too.
But is it normal to have this exeption???
Or is there a bug in den VB component?!
Here is the code:
<%
Set objRegExp = New RegExp
strReplace= ""
strPattern = "[^\s\w]"
objRegExp.IgnoreCase = TRUE
objRegExp.Global = TRUE
strToReplace = "this-is-a-test."
objRegExp.Pattern = strPattern
strResult = objRegExp.Replace(strToReplace, strReplace)
Response.Write(strResult)
%>
Here are some system informations:
W2K (5.00.2195 Service Pack 3)
Internet Information Server 5
vbscript.dll (Version 5.6.0.7426)
Thanks,
Alex
I am using the VBScript RegExp object from an ASP-Page and
I got
the following debugger output, when calling the Replace()
method:
"First-chance exception at 0x77e97c5c in inetinfo.exe:
0xC0000005: Access
violation reading location 0x0000400c."
Otherwise the code is running fine. The result is correct
too.
But is it normal to have this exeption???
Or is there a bug in den VB component?!
Here is the code:
<%
Set objRegExp = New RegExp
strReplace= ""
strPattern = "[^\s\w]"
objRegExp.IgnoreCase = TRUE
objRegExp.Global = TRUE
strToReplace = "this-is-a-test."
objRegExp.Pattern = strPattern
strResult = objRegExp.Replace(strToReplace, strReplace)
Response.Write(strResult)
%>
Here are some system informations:
W2K (5.00.2195 Service Pack 3)
Internet Information Server 5
vbscript.dll (Version 5.6.0.7426)
Thanks,
Alex