Closed kevinoid closed 8 years ago
Hi @kevinoid ,
Good catch!
I'll try to improve the tests and merge.
Hi @kevinoid,
Could cherry-pick the commit with tests that I have added/improved so we merge everything altogether?
fed5fac748a97ef3f929941912
git fetch --all
git checkout fix-ask-checking
git cherry-pick fed5fac748a97ef3f929941912
git push
Sure thing. Thanks for the quick review and additional work on it!
Thanks @kevinoid . Merging it!
Although the documentation for
agree
states that it only accepts yes/no/y/n case-insensitively, theRegexp
allowed any string which started with/y/i
or ended with/no?/i
and interpreted any starting with'y'
astrue
. This PR fixes theRegexp
to properly exclude the start and end markers from the alternation and add a test value to confirm it works.Thanks for considering, Kevin