str = "My hovercraft is full of eels"
reg = /My (?<noun>\w+) is (?<predicate>.*)/
m = reg.match(str)
puts m[:noun]         # hovercraft
puts m["predicate"]   # full of eels
puts m[1]             # same as m[:noun] or m["noun"]

