Couldn't you just put the optional slash in the capture here?

```
RewriteRule ^/zh-TW/firefox(/.*)?$ http://mozilla.com.tw/firefox$1 [L,R=301]
```