Click or drag to resize

RegExSearch Method

Searches the text for the compiled pattern. Returns a RegExMatch container of the first matching result if found, otherwise null. The region to search within can be specified without modifying where the start and end anchor would be.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public RegExMatch Search(
	string subject,
	int offset = 0,
	int end = -1
)

Parameters

subject
Type: SystemString

[Missing <param name="subject"/> documentation for "M:Godot.RegEx.Search(System.String,System.Int32,System.Int32)"]

offset (Optional)
Type: SystemInt32

[Missing <param name="offset"/> documentation for "M:Godot.RegEx.Search(System.String,System.Int32,System.Int32)"]

end (Optional)
Type: SystemInt32

[Missing <param name="end"/> documentation for "M:Godot.RegEx.Search(System.String,System.Int32,System.Int32)"]

Return Value

Type: RegExMatch

[Missing <returns> documentation for "M:Godot.RegEx.Search(System.String,System.Int32,System.Int32)"]

See Also