regular expressions are allowed in RegularExpressionGD init
implements Encoding.__eq__
Regexps gets the flags from the input regular expression
added some tests for regular expressions