Assign bug fixed. Invalid regex used to capture the variable name.