title: Ansible limit not match with pattern
body: <p>I have inventory file as </p>
  
  <pre><code># file: production_hosts
  [my_servers]
  myserver0[1:4].google.com
  </code></pre>
  
  <p>When I try to run the playbook on subset of these hosts, it gives only first and last host.</p>
  
  <pre><code>$ ansible-playbook -i production_hosts -l 'myserver0[1:3].google.com' yum_update_all.yaml  --list-hosts
  
  playbook: yum_update_all.yaml
  
    play #1 (all): all    TAGS: []
      pattern: [u'all']
      hosts (2):
        myserver01.google.com
        myserver03.google.com
  </code></pre>
  
  <p>When I tried other way, by giving each number, it gives all.</p>
  
  <pre><code>$ ansible-playbook -i production_hosts -l 'myserver0[1:2:3].google.com' yum_update_all.yaml  --list-hosts
  
  playbook: yum_update_all.yaml
  
    play #1 (all): all    TAGS: []
      pattern: [u'all']
      hosts (3):
        myserver02.google.com
        myserver01.google.com
        myserver03.google.com
  </code></pre>
  
  <p>Pattern similar pattern hosts will not work in limit ?</p>