title: Access Control regex symfony 2
body: <p>I need help to configure the access control part of my symfony website.
  I want the access for everyone for :</p>
  
  <pre><code>/ : the homepage
  /login : the login page
  /login_check : the check login page for FOSUserBundle
  /register : the register page of FOSUserBundle
  /resetting/request : the resetting password page of FOSUserBundle
  </code></pre>
  
  <p>And I want the user authenticated for all the rest, for example : /abc, /xxx, /yy/xx ...etc</p>
  
  <p>I put this in security.yml, but it don't work, the user have full access to all in all case :</p>
  
  <pre><code>access_control:    
          - { path: /_wdt/.*, role: IS_AUTHENTICATED_ANONYMOUSLY }
          - { path: /_profiler/.*, role: IS_AUTHENTICATED_ANONYMOUSLY }
          - { path: /login, role: IS_AUTHENTICATED_ANONYMOUSLY }
          - { path: /login_check, role: IS_AUTHENTICATED_ANONYMOUSLY }
          - { path: /resetting/request, role: IS_AUTHENTICATED_ANONYMOUSLY }
          - { path: /register, role: IS_AUTHENTICATED_ANONYMOUSLY }
          - { path: /, role: IS_AUTHENTICATED_ANONYMOUSLY }
          - { path: /*, role: IS_AUTHENTICATED_FULLY }
  </code></pre>
  
  <p>What's the problem ?</p>
  
  <p>Thanks ;)</p>