Zaslat záznam emailem: Computing the Shortest String and the Edit-Distance for Parsing Expression Languages