Python regular expression '-' specialness Mar 21, 2016 · 1 min read· python note to self Use - instead of - in python regular expressions $ python import re re.search(r’([-\w]*)’, ‘www.hakanu-net’) ← All posts