# your code goes here

import re

lines = [
	u'A A [A] /(slang) (Tw) to steal/',
	u'AA制 AA制 [A A zhi4] /to split the bill/to go Dutch/',
	u'AB制 AB制 [A B zhi4] /to split the bill (where the male counterpart foots the larger portion of the sum)/(theater) a system where two actors take turns in acting the main role, with one actor replacing the other if either is unavailable/',
	u'A咖 A咖 [A ka1] /class "A"/top grade/',
	u'A圈兒 A圈儿 [A quan1 r5] /at symbol, @/',
	u'A片 A片 [A pian4] /adult movie/pornography/'
]

regex = re.compile(r'^(.*)\s(.*)\s(\[.*\])\s(\/.*\/)')

for l in lines:
	g = regex.match(l)
	print(g.groups())
