title: Ignore white spaces in a regular expression
body: <p>I would like to ignore white spaces and parse a pattern like <code>(int, int) xx (int, int)</code>. For exemple,</p>
  
  <pre><code>import re
  m = re.match(r"[\s]*\([\s]*(\d+)[\s]*,[\s]*(\d+)[\s]*\)[\s]*xx[\s]*\([\s]*(\d+)[\s]*,[\s]*(\d+)[\s]*\)[\s]*", "   (2,  74) xx   (5  ,6), physicist")
  print (m.group(0)) #    (2,  74) xx   (5  ,6)
  print (m.group(1)) # 2
  print (m.group(2)) # 74
  print (m.group(3)) # 5
  print (m.group(4)) # 6
  </code></pre>
  
  <p>As you can see, in my pattern there are lots of <code>[\s]*</code> to represent zero or more white spaces. Is there a simpler way to write this pattern?</p>