Re: [perl #35976] [PATCH] Add Unicode, Hex, and Octal escapes to Tcl

2005-05-27 Thread Matt Diephouse
Will Coleda <[EMAIL PROTECTED]> wrote: > The attached patch provides a (possibly naive) implementation of the > remaining escape characters from: > > http://www.tcl.tk/man/tcl8.5/TclCmd/Tcl.htm#M16 > > that were missing, namely > > \ooo (octal) > > \xhh (hex) > > and > > \u (unicode) >

Re: [perl #35976] [PATCH] Add Unicode, Hex, and Octal escapes to Tcl

2005-05-26 Thread William Coleda
Because this appears to have been written primarily for perl implementors. It does the following escapes: 1 \xhh1..2 hex digits 2 \ooo1..3 oct digits 3 \cX control char X 4 \x{h..h}1..8 hex digits 5 \u 4 hex digits 6 \U 8 hex

Re: [perl #35976] [PATCH] Add Unicode, Hex, and Octal escapes to Tcl

2005-05-25 Thread Leopold Toetsch
Will Coleda (via RT) wrote: The attached patch provides a (possibly naive) implementation of the remaining escape characters from: Withouht further looking: can't you use src/string.c:string_unescape_cstring(), which has all these escapes already? leo

[perl #35976] [PATCH] Add Unicode, Hex, and Octal escapes to Tcl

2005-05-25 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #35976] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35976 > The attached patch provides a (possibly naive) implementation of the remaining escape c