Multiline error

Results 1 to 2 of 2

Thread: Multiline error

  1. #1
    Join Date
    Dec 1969

    Default Multiline error

    This code has worked fine on the dev server, and as soon as we pushed it live, I get this error:<BR>Microsoft VBScript runtime error &#039 800a01b6&#039 <BR><BR>Object doesn&#039t support this property or method: &#039regx.Multiline&#039 <BR><BR>Both servers are W2000 Server / IIS5<BR><BR>Here is the code that&#039s breaking:<BR><BR>set regx = new RegExp<BR>regx.IgnoreCase = true<BR>regx.Multiline = false<BR>regx.Pattern = "^.*"<BR>set matches = regx.Execute(vDesc)<BR>for each match in matches<BR> s1stLine = match<BR>next <BR>Please advise, Sam

  2. #2
    SPG Guest

    Default What version are you running?

    Of the VBScript Engine, that is... is it 5.1 or 5.5? The multiline property was either new in 5.5 or devalued after 5.1 as far as I know... Either way, it doesn&#039t exist for you in your situation (so comment that silly line out!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts