Just a little example of the use of Ruby Regular expresions: matching two given possible strings with one.

Status will be closed only if status was reopened or opened. This allow as to create some workflows on the code, for example.


Originally published at www.carlosbaraza.com on May 1, 2014.