changed regex to match all nonword characters as a valid starting point