Re: Introduce new alias for GB 18030

2002-03-23 Thread Autrijus Tang
On Sun, Mar 24, 2002 at 03:29:23PM +0900, Dan Kogai wrote: > >define_alias( qr/^GB(?:\s|-)?(.+)/i => '"gb$1"' ); to deobfuscate a little: define_alias( qr/^GB[- ]?(\d+)$/i => '"gb$1"' ); this is because \s is more than ' ', and 'GB-K' or 'GB 12345-blah' are both invalid. /Autrijus/ msg0

Re: Introduce new alias for GB 18030

2002-03-23 Thread Dan Kogai
On Sunday, March 24, 2002, at 01:03 , Anton Tagunov wrote: > Hello Dan! > > Maybe we would be better off with having something like > > > define_alias( qr/^GB(?:\s|-)?(.+)/i => '"gb$1"' ); > > > this will make things like > > GB 18030 > GB 12345 > > work. It looks good enough for me but I wil

Introduce new alias for GB 18030

2002-03-23 Thread Anton Tagunov
Hello Dan! Maybe we would be better off with having something like define_alias( qr/^GB(?:\s|-)?(.+)/i => '"gb$1"' ); this will make things like GB 18030 GB 12345 work. My best regards, Anton