2 ms·this works as well... username,domain = */([^@]+)@(.+$)/.match("foo@example.com").capturesby twoism 17y agothis works as well... username,domain = */([^@]+)@(.+$)/.match("foo@example.com").captures