title: Java Pattern.quote
body: <p>I am pretty new to Patterns and some help would be great.</p>
  
  <p>I am building a webcrawler, which looks for a specific pattern in the path.</p>
  
  <p>Right now I am using <code>Pattern.quote</code> to produce a literal string.</p>
  
  <p>Let's say Pattern.quote produces <code>\Q/test/live/167909\E</code> in which after the second slash (thus live) is always the same. Because <code>test</code> and <code>167909</code> is random I created this pattern <code>\Q/*/live/*\E</code> , but I can't use this to create a new Pattern.</p>
  
  <p>Any help is welcome.</p>