Revert "Improved regex thanks to cgeo :"

This reverts commit 48d49699aff163aad67e9603634825bfd4821143.