numpy: Yet better grep version from string.