From: Alecs K. <Al...@pe...> - 2004-03-18 11:02:59
|
On Thu, 18 Mar 2004 18:22:27 +0800 James He <ic...@us...> wrote: > > > > s/CTRL-([\w+\]])/<code > > > > class="keystroke">CTRL-$1<\/code>/g; > > > > There are also other ctrl keys like CTRL-@, CTRL-[, CTRL-^, etc. > > So i think we can easily use /CTRL-(.)/ > They are not identical, because there are 'Ctrl-Break', 'Ctrl-PageUp', > etc that need to be regarded as keystrokes, too. (e.g. in > 'os_dos.txt') /CTRL-(\S+)/ |