fix bug: parse regular expression '/[\]/]/' fail