PEG test: specify the proper end condition in the pattern.