Log Import Regex for custom logs for apache

Dear All,

I am trying to import my apache logs which are of below format

“%h %t “%r” %b %D %T %f %>s %l %u “%{Referer}i” [%{User-agent}i]”

One log line is below
192.x.x.x [01/Jul/2015:03:54:57 +0200] “GET /Folder/file.jsp HTTP/1.1” 2473 219009 0 218885 200 - - “https://domain.com/file.jsf” [Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0]

sudo ./import_logs.py --url=pwikurl/analytics log2 --idsite 7 --debug --enable-static --log-format-regex=’.((?P\S+) [(?P.?) “\S+ (?P.?) \S+" (?P\S+) "\S+(?P.?)\S+” [(?P<user_agent>.?)).

This says invalif log lines . Could you please let me know what I am doing wrong.

Logs import summary

0 requests imported successfully
0 requests were downloads
2 requests ignored:
    0 HTTP errors
    0 HTTP redirects
    2 invalid log lines
    0 requests did not match any known site
    0 requests did not match any --hostname
    0 requests done by bots, search engines...
    0 requests to static resources (css, js, images, ico, ttf...)
    0 requests to file downloads did not match any --download-extensions