Renamed Regex::create to Regex::def.

I use def in other classes for the same functionality.
Small refactoring.