CSS内の相対パスを探す

/(?:url\(\s*(?:'((?:\\'|\\\n|[^\n])*?)'|"((?:\\"|\\\n|[^\n])*?)"|(?<!['"])([^\s'")]+))\s*\)|@import\s+(?:'((?:\\'|\\\n|[^\n])*?)'|"((?:\\"|\\\n|[^\n])*?)")|@namespace\s+(?:'((?:\\'|\\\n|[^\n])*?)'|"((?:\\"|\\\n|[^\n])*?)")|@namespace\s+\w+\s+(?:'((?:\\'|\\\n|[^\n])*?)'|"((?:\\"|\\\n|[^\n])*?)"))/su
@import		  "../../img/so\ru\"ce.png" 

@namespace 'aaa/bb\'b/ccc'  ;

@namespace	 svg 	'111/222/\
../333'  ;

@namespace	url( http://www.aaa.\com/ccc/ggg.gif  );

.aaa {
	background:url(		chrome://communicator/skin/  		);
	background:url(	../img/http/nq.jpg  );
	background:url(   	"../img/dq.png"    );
	background:url(   
		'../asset/sq.png'
	);
}
Array
(
    [13] => ../../img/so\ru\"ce.png
    [52] => aaa/bb\'b/ccc
    [89] => 111/222/\
../333
    [127] => http://www.aaa.\com/ccc/ggg.gif
    [189] => chrome://communicator/skin/
    [240] => ../img/http/nq.jpg
    [284] => ../img/dq.png
    [328] => ../asset/sq.png
)
@import 'custom.css';
@import url("chrome://communicator/skin/");
@import url("fineprint.css") print;
@import url("bluish.css") speech;
@import "common.css" screen;
@import url('landscape.css') screen and (orientation:landscape);
Array
(
    [9] => custom.css
    [35] => chrome://communicator/skin/
    [79] => fineprint.css
    [115] => bluish.css
    [145] => common.css
    [178] => landscape.css
)
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
       url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
}
.className {
  @font-face {
    font-family: MyHelvetica;
    src: local("Helvetica Neue Bold"),
         local("HelveticaNeue-Bold"),
         url(MgOpenModernaBold.ttf);
    font-weight: bold;
  }
}
@font-face {
    font-family: "Bitstream Vera Serif Bold";
    src: url("https://mdn.mozillademos.org/files/2468/VeraSeBd.ttf");
}
Array
(
    [53] => /fonts/OpenSans-Regular-webfont.woff2
    [122] => /fonts/OpenSans-Regular-webfont.woff
    [327] => MgOpenModernaBold.ttf
    [453] => https://mdn.mozillademos.org/files/2468/VeraSeBd.ttf
)
@counter-style winners-list {
  system: fixed;
  symbols: url(gold-medal.svg) url(silver-medal.svg) url(bronze-medal.svg);
  suffix: " ";
}
Array
(
    [62] => gold-medal.svg
    [82] => silver-medal.svg
    [104] => bronze-medal.svg
)
@document url("https://www.example.com/") {
  h1 {
    color: green;
  }
}
@document url("http://www.w3.org/"),
          url-prefix("http://www.w3.org/Style/"),
          domain("mozilla.org"),
          media-document("video"),
          regexp("https:.*") {
  /* CSS rules here apply to:
     - The page "http://www.w3.org/"
     - Any page whose URL begins with "http://www.w3.org/Style/"
     - Any page whose URL's host is "mozilla.org"
       or ends with ".mozilla.org"
     - Any standalone video
     - Any page whose URL starts with "https:" */

  /* Make the above-mentioned pages really ugly */
  body {
    color: purple;
    background: yellow;
  }
}
Array
(
    [15] => https://www.example.com/
    [90] => http://www.w3.org/
)