Unable to edit pages on a fresh install local environment

I finally replaced the following expression:
%{REQUEST_URI} !^[^.]*\.

with

%{REQUEST_URI} !^.*\.

Now everithing works as expected. I just don’t understand why the original expression works on my VPS.