Update pattern_matches_text.rb

Added an extra example and some @eLobato's suggestions. Thanks! ;)