Changes for passing RegExp argument to get() method