replace regex with repetition vs replaceAll vs replace regex without repetition| Test case name | Result |
|---|---|
| replace regex with repetition | |
| replaceAll | |
| replace regex without repetition |
| Test name | Executions per second |
|---|---|
| ✓ replace regex with repetition | 6,316,165 Ops/sec |
| replace regex without repetition | 6,177,136 Ops/sec |
| replaceAll | 5,760,026 Ops/sec |