title: How to convert regex into an extglob expression?
body: <p>I'd like to convert regular expression into glob </p>
  
  <p>I was looking on <a href="http://jakarta.apache.org/oro/api/index.html" rel="nofollow">jakarta oro</a> But i can't find method that suits my needs. That it compiles regular expression and returns its glob equivalent</p>
  
  <p>They are both Type-3 grammars, so in theory it should be possible.</p>
  
  <p>I am unfortunatelly limited by using JDK5.</p>