Improve Journey compliance to RFC 3986

The scanner in Journey fails to recognize routes that use literals
from the sub-delims section of RFC 3986.

This commit enhance the compatibility of Journey with the RFC by
adding authorized delimiters to the LITERAL regexp.

Fix #17212 
can `tr` be used instead of `gsub` here?