regex improved, now with nuts