take text/regex to match as optional inline parameter instead of option