support [ and ] , close issue #12