extract skipping whitespaces grammar