Removed Regexp dependency from kernel