Cabbage Logo
Back to Cabbage Site

Combobox breaks when items contain parentheses (resolved)

Title says it all… make a combobox with items(“test(1)”, “test(2)”, “test(3)”), only the first entry will be visible with the “)” being where it stops.

Can work around this with [ and ], but figured it’s still worth reporting.

Hmm. The parser breaks up parameters based on parentheses. So when it sees this it gets confuses by the inside parentheses. This one would involve a bit of work of sort. Square brackets will have to do for now I’m afraid :frowning:

Brackets will work for me, but just out of curiosity is there any escaping that could be done to use them if preferred over brackets?

Not really. As I mentioned in a previous post, the parser I wrote for Cabbage is very elementary. I’ve little interest in learning flex/bison so the key here is to keep everything as simple as possible :wink: