Search Results

Search: Posts Made By: summer_cherry
46,183
Posted By summer_cherry
#!/usr/bin/perl ...
#!/usr/bin/perl
$str="(one(((two)))abc)a((b))c(d)";
@arr=$str=~/\(+/g;
@tmp= sort {length($b) <=> length($a)}@arr;
# if would like to find the deepest '()', uncomment below part...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy