import re

def snake_to_camel(word):
    return re.sub(r'_([a-zA-Z0-9])', lambda m: m.group(1).upper(), word)