parse "[...]" and "(...)" blocks
skip whitespaces