in reply to Re: N-Queens problem with a regex (again)
in thread N-Queens problem with a regex (again)

Great ! It's Christmas before Christmas ! Thank you.
("*"x5)=~/(.*)(?{push@t," "x(5-length $1).$1."*".$1."\n"})(?!)/;print +reverse@t;