title: clojure regex named groups
body: <p>I have a problem with re-find in clojure. Actually I'm doing</p>
  
  <pre><code>(re-find #"-(?&lt;foo&gt;\d+)-(?&lt;bar&gt;\d+)-(?&lt;toto&gt;\d+)-\w{1,4}$" 
  "http://www.bar.com/f-a-c-a-a3-spok-ser-2-phse-2-1-6-ti-105-cv-9-31289-824-gu" )
  </code></pre>
  
  <p>My result is fine:</p>
  
  <pre><code>["-9-31289-824-gt" "9" "31289" "824"]
  </code></pre>
  
  <p>But I would prefer to have a hash looking like:</p>
  
  <pre><code>{:foo "9" :bar "31289" :toto "824"}
  </code></pre>
  
  <p>I have understood that java.util.regex.Matcher/group is doing something like that but I haven't been able to use it correctly. 
  Thanks for your help</p>