Update String.prototype.match to ECMA-262 v6 (#3375)

The algorithm is based on ECMA-262 v6, 21.1.3.11

JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
Szilagyi Adam
2019-12-10 14:40:41 +01:00
committed by Dániel Bátyai
parent 531f1e9687
commit 7c0b1ca88a
5 changed files with 343 additions and 317 deletions
@@ -111,6 +111,10 @@ ecma_regexp_replace_helper (ecma_value_t this_arg,
ecma_value_t string_arg,
ecma_value_t replace_arg);
ecma_value_t
ecma_regexp_match_helper (ecma_value_t this_arg,
ecma_value_t string_arg);
ecma_value_t ecma_op_regexp_exec (ecma_value_t this_arg, ecma_string_t *str_p);
/**
* @}