from pyparsing import *

unicode_printables = u''.join(unichr(c) for c in xrange(65536)
if not unichr(c).isspace()) E

def parse_test(text):
label = Word(alphas)+Suppress(':')
value = OneOrMore(Word(unicode_printables)|Literal(','))
group = Group(label.setResultsName('label')+value.setResultsName('value'))
exp = delimitedList(
group,
delim='.'
)
F
return exp.parseString(text)

✿ ☺ ☻ ☹ ☼ ☂ ☃ ⌇ ⚛ ⌨ ✆ ☎ ⌘ ⌥ ⇧ ↩ ✞ ✡ ☭ ← → ↑ ↓ ➫ ⬇ ⬆ ☜ ☞ ☝ ☟ ✍ ✎ ✌ ☮ ✔ ★ ☆ ♺ ⚑ ⚐ ✉ ✄ ⌲ ✈ ♦ ♣ ♠ ♥ ❤ ♡ ♪ ♩ ♫ ♬ ♯ ♀ ♂ ⚥ ⚢ ⚣ ❑ ❒ ◈ ◐ ◑ ✖ ∞ « » ‹ › “ ” ‘ ’ „ ‚ – — | ⁄ [ ] { } § ¶ ¡ ¿ ‽ ⁂ ※ ± × ~ ≈ ÷ ≠ π † ‡ ¥ € $ ¢ £ ß © ® @ ™ ° ‰ … · • ●e
gb
☹ ☺

10 years ago*

Comment has been collapsed.

A puzzle?

10 years ago*
Permalink

Comment has been collapsed.

This is Sparta. By the way, I use python too.

10 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

10 years ago
Permalink

Comment has been collapsed.

The meaning of life!

10 years ago*
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 3 years ago.

10 years ago
Permalink

Comment has been collapsed.

He's trying to spam...

10 years ago
Permalink

Comment has been collapsed.

It's puzzle

10 years ago*
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 2 years ago.

10 years ago
Permalink

Comment has been collapsed.

Thanks for the giveaway

10 years ago
Permalink

Comment has been collapsed.

the hell?

10 years ago
Permalink

Comment has been collapsed.

Closed 10 years ago by RevCat.