Cute :)
Slightly more condensed:
s/\\([,;n])/${{n=>"\n"}}{$1}||$1/eg; [download]
In reply to Re^5: Regexes and backslashes by wind in thread Regexes and backslashes by oko1