Efficient learning of regular expressions from good examples