def camel_to_under(name):
s1 = re.sub("<STR_LIT>", r"<STR_LIT>", name)<EOL>return re.sub("<STR_LIT>", r"<STR_LIT>", s1).lower()<EOL>
Converts camel-case string to lowercase string separated by underscores.

Written by epost (http://stackoverflow.com/questions/1175208).

:param name: String to be converted
:return: new String with camel-case converted to lowercase, underscored