<reponame>Rapid-Design-of-Systems-Laboratory/beluga-legacy<gh_stars>1-10
def fix_carets(expr):
    """Converts carets to exponent"""
    import re as _re
    caret = _re.compile('[\^]')
    return caret.sub('**',expr)

def fix_carets(expr):
    """Converts carets to exponent"""
    import re as _re
    caret = _re.compile('[\^]')
    return caret.sub('**',expr)
Converts carets to exponent