Error message "Error during redisplay: (error No match 2 in highlight (2 font-lock-function-name-face))" is fixed by removing second group highlight specififcation because no secodn group exists in expression
(rx "{"
(group (or "literal" "/literal"))
"}")
Error message "Error during redisplay: (error No match 2 in highlight (2 font-lock-function-name-face))" is fixed by removing second group highlight specififcation because no secodn group exists in expression (rx "{" (group (or "literal" "/literal")) "}")