title: NotSerializableException: java.util.regex.Matcher
body: <p>Given that <code>java.util.regex.Matcher</code> does not implement <code>Serializable</code>, is it somehow possible to serialize a class that privately declares and uses</p>
  
  <pre><code>private Pattern pattern;
  private Matcher matcher;
  </code></pre>
  
  <p>What, if any, workaround is possible here?</p>