Published on

Match two possible strings (RegExp)

Authors
  • avatar
    Name
    Carlos Baraza
    Twitter
    @carlosbaraza
    Bio
    I write software and other philosophical stuff.

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.