added basic [] and [^]