basic regex support
finish regex support