code: private void readObject(java.io.ObjectInputStream s)
          throws java.io.IOException, ClassNotFoundException {
  
          // Read in all fields
          s.defaultReadObject();
          compile();
      }
docs: Recompile the Pattern instance from a stream.  The original pattern
  string is read in and the object tree is recompiled from it.