set ip "10.21.128.7(u)"puts [regexp {[u]} match b]puts $match puts $b [regexp {([A-Za-z]+) +([a-z]+)} $sample match sub1 sub2 ]
Standard input is empty
0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!