###### JerryScript revision
ff9ff8f36c967890b5ebb240d9fa90d6e351aa01

###### Build platform
Ubuntu 22.04.3

###### Build steps
```sh
python ./tools/build.py --builddir=xxx --clean --debug --compile-flag=-fsanitize=address --compile-flag=-g --strip=off --lto=off --logging=on --line-info=on --error-message=on --stack-limit=20
```

###### Test case
```sh
var str = "ab";
var pattern = /a/;
str.split(pattern);
print(RegExp.rightContext);
```

###### Execution steps
```sh
./xxx/bin/jerry poc.js
```

###### Output
```sh
Jerryscript: undefined
V8: b
```

RegExp.rightContext differs between Jerryscript and V8
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : RegExp.rightContext differs between Jerryscript and V8
Issue date:

--- start body ---
###### JerryScript revision
ff9ff8f36c967890b5ebb240d9fa90d6e351aa01

###### Build platform
Ubuntu 22.04.3

###### Build steps
```sh
python ./tools/build.py --builddir=xxx --clean --debug --compile-flag=-fsanitize=address --compile-flag=-g --strip=off --lto=off --logging=on --line-info=on --error-message=on --stack-limit=20
```

###### Test case
```sh
var str = "ab";
var pattern = /a/;
str.split(pattern);
print(RegExp.rightContext);
```

###### Execution steps
```sh
./xxx/bin/jerry poc.js
```

###### Output
```sh
Jerryscript: undefined
V8: b
```

--- end body ---
