Примеры
Read a radio call with slash-separated words
The slash is a word separator here, not an encoded slash character.
Ввод
-.-. --.-/-.. ./--. ....- .- -... -.-.Expected answer
CQ DE G4ABCCQ DE G4ABC
- Разделитель букв
Space- Разделитель слов
Forward slash
Read a distress letter sequence
Decoding the letters does not generate audio or transmit a distress signal.
Ввод
... --- ...Expected answer
SOSSOS
- Разделитель букв
Space- Разделитель слов
Line feed
Accept typographic middle dots and en dashes
Alternative dot and dash glyphs normalize to the same Morse alphabet.
Ввод
·– –··· –·–·Expected answer
ABCABC
- Разделитель букв
Space- Разделитель слов
Line feed
Read digit groups separated by a newline
The newline separates the two number groups; output uses one space.
Ввод
--... ...--
---.. ---..Expected answer
73 8873 88
- Разделитель букв
Space- Разделитель слов
Line feed
Decode an email-style address including the at sign
The at sign is a single Morse character, not a word boundary.
Ввод
.-,.--.-.,-...Expected answer
A@BA@B
- Разделитель букв
Comma- Разделитель слов
Forward slash