I want to break a string into components
s = \'Hello [foo] world!\' re.split(r\'\\[(.*?)\\]\', s)
which gives me
[\'Hello \',