Regexp and message passing examples