Hello tye. Thanks for reply zero width look ahead and \G . fine!
In reply to Re^3: rotate a vector with a regex? (//g, s/\G) by remiah in thread rotate a vector with a regex? by misterperl