Reproduction steps:
1. Open the attached "Regexp.zip" project
2. Build and Run for Windows, Mac, Linux Standalone Player
3. Observe the elapsed time shown in the Player
Expected result: Elapsed time is 10-20 ms
Actual result: Elapsed time is 200-500 ms
Reproducible with: 2021.2.0a18, 2021.3.3f1, 2022.1.2f1, 2022.2.0a14
Not reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.2.0a17
Tested and reproduced with: Windows, Mac, Linux Standalone Player on Windows 10
Note: Not reproducible with Mono Scripting Backend