Improved programming languages regular expression