Share via


RegExpPrototype.compile(Object, Object, Object) Yöntem

Tanım

Belirtilen normal ifade deseni ve bayrakları için yeni RegExpObject bir nesne oluşturur ve derler.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

public:
 static Microsoft::JScript::RegExpObject ^ compile(System::Object ^ thisob, System::Object ^ source, System::Object ^ flags);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.RegExp_compile)]
public static Microsoft.JScript.RegExpObject compile (object thisob, object source, object flags);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.RegExp_compile)>]
static member compile : obj * obj * obj -> Microsoft.JScript.RegExpObject
Public Shared Function compile (thisob As Object, source As Object, flags As Object) As RegExpObject

Parametreler

thisob
Object

Bu yöntemin işlem yaptığı nesne.

source
Object

Aranacak normal ifade deseni.

flags
Object

Büyük/küçük harf yoksay, genel ve çok satırlı modlar için bayraklar.

Döndürülenler

Yeni RegExpObject bir nesne.

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.