Implements Regexp constraint