clustershell icon indicating copy to clipboard operation
clustershell copied to clipboard

Other types of regroups

Open littlejo opened this issue 7 years ago • 1 comments

Hello,

My hostnames are of types: -abcdefghhh0001 -ijklmnophhh0001

Common name is hhh0001.

Is it possible to regroup: [abcdefg,ijklmno]hhh0001 ?

Best regards,

littlejo avatar Sep 05 '17 12:09 littlejo

First of all, letters are not supported inside brackets. Names are first parsed, then compared to see how they matched.

Even if your example could look easy, real algorithm to do this in the general case is very difficult. This is unlikely it will be supported.

degremont avatar Sep 05 '17 13:09 degremont