mod_rayo: fix SRGS parser to detect match end (no more input allowed)