Improve lastIndex calculation in RegExp match (#2982)
Improve lastIndex calculation in RegExp match (#2982)

Co-authored-by: Marko Fabo <3e052b0d46f5f1fe1e321dce83f12df1449c5d2e@inf.u-szeged.hu>
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
akosthekiss/jerryscript,bzsolt/jerryscript,zherczeg/jerryscript,akosthekiss/jerryscript,robertsipka/jerryscript,bzsolt/jerryscript,jerryscript-project/jerryscript,robertsipka/jerryscript,zherczeg/jerryscript,bzsolt/jerryscript,bzsolt/jerryscript,jerryscript-project/jerryscript,robertsipka/jerryscript,akosthekiss/jerryscript,jerryscript-project/jerryscript,bzsolt/jerryscript,dbatyai/jerryscript,robertsipka/jerryscript,robertsipka/jerryscript,robertsipka/jerryscript,dbatyai/jerryscript,dbatyai/jerryscript,zherczeg/jerryscript,jerryscript-project/jerryscript,akosthekiss/jerryscript,akosthekiss/jerryscript,dbatyai/jerryscript,zherczeg/jerryscript,dbatyai/jerryscript,jerryscript-project/jerryscript,zherczeg/jerryscript