pipeline.py: don't import re