# LuaEdkMatch:new

The constructor for a `LuaEdkMatch` object (creates a new `LuaEdkMatch` object).

## Syntax

`LuaEdkMatch:new()`

or

`LuaEdkMatch:new(entity_name, matched_text, offset)`

## Arguments

NOTE: You can use this constructor without arguments to create a match without values set. However, to reduce the amount of repeated code, Micro Focus recommends that you use the alternative version that allows you to create a match with some important information populated.

Argument | Description
--- | ---
`entity_name` | The name of the entity that the match belongs to.
`matched_text` | The matching text.
`offset` | The position of the match (in bytes).

## Returns

(`edkMatch`). The new `edkMatch` object.

_FT_HTML5_bannerTitle.htm