code: def get_posix_property(value, mode=POSIX):
      
  
      if mode == POSIX_BYTES:
          return unidata.ascii_posix_properties[value]
      elif mode == POSIX_UNICODE:
          return unidata.unicode_binary[
              ('^posix' + value[1:]) if value.startswith('^') else ('posix' + value)
          ]
      else:
          return unidata.unicode_posix_properties[value]
docs: Retrieve the posix category.