interface: FIXME when parsing string to regexp