A return value of the RegExp.exec method.

Variables

groups:Null<DynamicAccess<String>>

Named capturing groups or undefined if no named capturing groups were defined. See Groups and Ranges for more information.

Note: Not all browsers support this feature; refer to the compatibility table.

index:Int

The index of the search at which the result was found.

input:String

A copy of the search string.

Inherited Variables

Defined by Array

read onlylength:Int

The length of this Array.

Inherited Methods

Defined by Array

@:runtimeinlineiterator():ArrayIterator<T>

Returns an iterator of the Array values.

join(sep:String):String

Returns a string representation of this Array, with sep separating each element.

The result of this operation is equal to Std.string(this[0]) + sep + Std.string(this[1]) + sep + ... + sep + Std.string(this[this.length-1])

If this is the empty Array [], the result is the empty String "". If this has exactly one element, the result is equal to a call to Std.string(this[0]).

If sep is null, the result is unspecified.

push(x:T):Int

Adds the element x at the end of this Array and returns the new length of this Array.

This operation modifies this Array in place.

this.length increases by 1.

shift():Null<T>

Removes the first element of this Array and returns it.

This operation modifies this Array in place.

If this has at least one element, this.length and the index of each remaining element is decreased by 1.

If this is the empty Array [], null is returned and the length remains 0.

toString():String

Returns a string representation of this Array.

The result will include the individual elements' String representations separated by comma. The enclosing [ ] may be missing on some platforms, use Std.string() to get a String representation that is consistent across platforms.