bMatchesPattern - Solution Sites Routine

This function checks whether the value specified by the sValue parameter matches the expression specified by the sPattern parameter. If a match is found, this function returns True; otherwise it returns False.

Definition

Function bMatchesPattern(
  oRegEx,
  sValue,
  sPattern)

Parameters

  • oRegEx
    A reference to a Visual Basic Scripting Edition RegExp object.
  • sValue
    A string containing text to be tested against the regular expression specified by the sPattern parameter.
  • sPattern
    A string containing a regular expression pattern that is valid for the Visual Basic Scripting Edition RegExp object.

Return Value

A Boolean where True indicates that the sValue parameter was found to match the pattern specified by the sPattern parameter, and False otherwise.

Defined in File

include\form_lib.asp

Routines Called

None.

Called By

bValidateLoginNameChars

bValidatePasswordChars

GetFieldsErrorDictionary

Copyright © 2005 Microsoft Corporation.
All rights reserved.