def _CreateLegalIdentifier(input_string):
    'Converts input_string to a legal identifier for ADMX/ADML files.\n\n  Changes some characters that do not necessarily cause problems and may not\n  handle all cases.\n\n  Args:\n    input_string: Text to convert to a legal identifier.\n\n  Returns:\n    String containing a legal identifier based on input_string.\n  '
    return re.sub('[\\W_]', '', input_string)
Converts input_string to a legal identifier for ADMX/ADML files.

Changes some characters that do not necessarily cause problems and may not
handle all cases.

Args:
  input_string: Text to convert to a legal identifier.

Returns:
  String containing a legal identifier based on input_string.
def _CreateLegalIdentifier(input_string):
    'Converts input_string to a legal identifier for ADMX/ADML files.\n\n  Changes some characters that do not necessarily cause problems and may not\n  handle all cases.\n\n  Args:\n    input_string: Text to convert to a legal identifier.\n\n  Returns:\n    String containing a legal identifier based on input_string.\n  '
    return re.sub('[\\W_]', , input_string)