title: python re.compile strings with vars and numbers
body: <p>Hi I want to get a match for the following:</p>
  
  <p><code>test = re.compile(r' [0-12](am|pm) [1-1000] days from (yesterday|today|tomorrow)')</code></p>
  
  <p>with this match:</p>
  
  <p><code>print test.match(" 3pm 2 days from today")</code></p>
  
  <p>It returns none, what am i doing wrong? I am just getting into regex and reading the docs I thought this should work! ANY HELP APPRECIATED
  chrism</p>
  
  <h2>--------------------------------------------------------------------------------------</h2>
  
  <p>I am asking a new question about the design of a sytem using similar process to above in NLP <a href="https://stackoverflow.com/questions/5789126/pyton-re-match-findall-or-search-and-then-nlp-what-to-do-with-it">HERE</a></p>