internal bool IsCaptureName(string capname) { if (_capnames == null) return false; return _capnames.ContainsKey(capname); }