I have a string like
"A;BB;C[1;22];DDD[11;2;33];EEEEE[1111]"
I will split this into
["A","BB","C[1;22]","DDD[11;2;33]","EEEEE[1111]"]
The chars and the numbers are representatives for any strings of 1-x chars length.
My regex is like
/(?<!(\w+)\[)(\;(?!((\w+)((\;)(\w+)){0,}\])))/
https://regex101.com/r/fWNHBB/2
But I don't get it run in ruby. Can anyone help me here?