fixed some like issues and language support problems for regular expressions