Import libregexp from plan9port.
Use libregexp.