private int putPattern(String name, Pattern p) { int start = _buf.position(); _put(REGEX, name); _put(p.pattern()); _put(patternFlags(p.flags())); return _buf.position() - start; }
private void putPattern(String name, Pattern p) { _put(REGEX, name); _put(p.pattern()); _put(regexFlags(p.flags())); }