View Full Version : regexp problem ?

08-06-2007, 02:35 PM
i have this statement


but error

Microsoft JScript ошибка '800a139a'



has been occured

the problem is in sign ?

i dont know why ? its additional regexp syntax

on my own DEV environment (w 2003 sp1) all is ok
by on company's DEV ENV ( w 2000 sp3) i have got error

08-06-2007, 07:30 PM
Since this is giving you a server side error doesn't your regex need to be in quotes?


08-07-2007, 09:54 AM
no .. according to msdn regexp needn't to be in quotes

it looks like i have found whats a problem

on company's DEV only sp3 for w2k was installed
admins has already been asked to setup sp4 and if it doesn't check problem
they will install this : "Windows Script 5.6 for Windows XP and Windows 2000 "

i hope it checks my problem


08-07-2007, 09:46 PM
That actually sense. regex in vbscript was added as of version 5 I believe. You would normally have a version of vbscript that supports regex if IE 5.0 was installed (most likely it wasn't).

You can check the VBScript version by using the following asp page.

Response.Write "You are using "
Response.Write ScriptEngine
Response.Write " version " & ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion

semper fi..

08-08-2007, 03:04 AM
By the error he posted though it looks like his code is in JScript

08-16-2007, 10:35 PM
I think both VBScript and JScript share code (both coming from Microsoft). Basically there are two ways you get JScript/VBScript installed on a Windows computer, either install Internet Explorer or install Windows Script Host.

The wiki entry for JScript goes into which version installs what


semper fi...