code: public static RawData escapeRegex(Object o) {
          if (null == o) return RawData.NULL;
          if (o instanceof RawData)
              return (RawData) o;
          String s = o.toString();
          return new RawData(s.replaceAll("([\\/\\*\\{\\}\\<\\>\\-\\\\\\!])", "\\\\$1"));
      }
docs: Escape for regular expression
  
  @param o
  @return Regex escaped data