spec/regexp-examples_spec.rb in regexp-examples-0.4.0 vs spec/regexp-examples_spec.rb in regexp-examples-0.4.1
- old
+ new
@@ -40,10 +40,12 @@
context 'returns matching strings' do
context "for basic repeaters" do
examples_exist_and_match(
/a/,
/a*/,
+ /a*?/,
/a+/,
+ /a+?/,
/a?/,
/a{1}/,
/a{1,}/,
/a{,2}/,
/a{1,2}/