spec/regexp-examples_spec.rb in regexp-examples-0.0.1 vs spec/regexp-examples_spec.rb in regexp-examples-0.0.2
- old
+ new
@@ -80,10 +80,12 @@
examples_exist_and_match(
/https?:\/\/(www\.)github\.com/,
/(I(N(C(E(P(T(I(O(N)))))))))*/,
/[\w]{1}/,
/((a?b*c+)) \1/,
- /((a?b*c+)?) \1/
+ /((a?b*c+)?) \1/,
+ /a|b|c|d/,
+ /a+|b*|c?/
)
end
end
end