Remove 5.14-ism in regex