When from import is used python tries to look in the from file to import what you have requested. This might make it clearer.
import re as regexp
from regexp import search
This essentially asks python to look in a file called 'regexp' which it can't find. This is why the alias won't work.