oscript.data
Interface RegExp.RegExpFactory

Enclosing interface:
RegExp

protected static interface RegExp.RegExpFactory

Interface to be implemented by regular-expression factory


Method Summary
 RegExp createRegExp(Value exp, Value flags)
          Construct a RegExp object.
 Value getType()
          Get the type object, used to construct a RegExp object.
 

Method Detail

getType

public Value getType()
Get the type object, used to construct a RegExp object.


createRegExp

public RegExp createRegExp(Value exp,
                           Value flags)
Construct a RegExp object.

Parameters:
exp - the expression string
flags - the string of zero or more flags
Returns:
the RegExp object