I have a string that is in the form of: aaaa,1234,5678
I want to pick out the middle integer, 1234.
My code of the 8.4 persuasion looks like this: regexp {,(\d+),} $a b c
where $a is aaaa,1234,5678.
I'm assuming that \d is not supported in 8.0 as a decimal digit. What will
make this work in 8.0?
Also, is there a RE reference I can get that will explain the syntax ass it
pertains to 8.0? I know about the manpage at:
http://www.tcl.tk/man/tcl8.0/TclCmd/regexp.htm
Thanks!
Phil
[0-9]