Apparently using regular expressions is way easier.
Used jest-codemods to migrate, will have to pass everything by hand before we can merge.