spec/regexp-examples_spec.rb in regexp-examples-0.1.0 vs spec/regexp-examples_spec.rb in regexp-examples-0.2.0

- old
+ new

@@ -84,10 +84,12 @@ context "for backreferences" do examples_exist_and_match( /(repeat) \1/, /(ref1) (ref2) \1 \2/, /((ref2)ref1) \1 \2/, - /((ref1and2)) \1 \2/ + /((ref1and2)) \1 \2/, + /(one)(two)(three)(four)(five)(six)(seven)(eight)(nine)(ten) \10\9\8\7\6\5\4\3\2\1/, + /(a?(b?(c?(d?(e?)))))/ ) end context "for complex patterns" do # Longer combinations of the above