Added support for AutoConstraints generation

Simply use the new RegexRoute constructor.
Also, added content from the unapplied patch #3