code: def group_name_index(self, x):
      if x == self.__group_name:
          return len(self.__group_names)
      return self.__group_names.index(x)
  
imports: import re
  import wx
  import wx.stc
label_desc: Use image node_id 13 for calling the RegexpState obj's underlying member method code with example usage: obj.group_name_index(x) and returns: self, len