`/^when(Minus)?(.+)$/` should be sufficient