ereg was removed in php7. Use preg instead

Authored by ognarb on Aug 17 2019, 9:21 PM.


Test Plan

None :( I wasn't able to find a capacity website who use this code (tested with okular and kdesrc-build)

Diff Detail

R910 Capacity Web Framework
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
ognarb requested review of this revision.Aug 17 2019, 9:21 PM
ognarb created this revision.
ognarb edited the test plan for this revision. (Show Details)Aug 17 2019, 9:23 PM
bcooksley accepted this revision.Aug 18 2019, 8:24 AM

Thanks for this, looks good to me.

This revision is now accepted and ready to land.Aug 18 2019, 8:24 AM
This revision was automatically updated to reflect the committed changes.