1. Fixes #0000273: Get rid of ereg* functions usage, because they are slow and are deprecated since PHP 5.3
2. Commit on behalf of Dmitry.
INP-229
Got a suggestion or an issue? Discuss it on the Atlassian Community or visit Atlassian Support for other options.