A range within a string, indicating whether it was matched.
| Property |
Type |
Description |
end |
number |
End offset in UTF-16 code units (exclusive). |
matched |
boolean |
Whether this range was part of the match. |
start |
number |
Start offset in UTF-16 code units (inclusive), for item.slice(start, end). |