Some basic regexp support