Update Highlight.js ruby patch

What does this MR do and why?

Updates the Highlight.js ruby patch with the latest changes from the upstream code review

References

Screenshots

Before After
459845084-b464660c-2d5b-47c7-8df5-d5bd72a2e1dc 459845199-3aa94a43-f69d-47cf-a7eb-d18b6e092df0

How to set up and validate locally

  1. Open a Ruby file containing a nested regex pattern (example)
  2. The syntax following the nested regex should be highlighted as expected

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #466023 (closed)

Merge request reports

Loading