title: Perl matching multiple capitalized words
body: <p>I'm doing a perl program (script?) that reads through a text file and identifies all names and categorizes them as either person, location, organization, or miscellaneous.  I'm having trouble with things like New York or Pacific First Financial Corp. where there are multiple capitalized words in a row.  I've been using:</p>
  
  <pre><code>/([A-Z][a-z]+)+/
  </code></pre>
  
  <p>to capture as many capitalized words in a row as there are on a given line.  From what I understand the + will match 1 or more instances of such pattern, but it's only matching one (i.e. New in New York).  For New York, I can just repeate the [A-Z][a-z]+ twice but it doesn't find patterns with more than 2 capitalized words in a row.  What am I doing wrong?</p>
  
  <p>PS Sorry if my use of vocabulary is off I'm always so bad with that.</p>