main: require regex as first parameter of listen