better regex for matching origin in cuke test