Java regx practice with spock testing