skylighting v0.10.5.1 Release Notes
-
Regex: Allow lookaheads to capture groups. Previously captures in lookaheads, like
(?=(a*))
, were ignored. This led to errors highlighting xml and probably other formats (#121).Throw an exception if a capture group isn't defined (with 'dynamic') rather than simply having getCapture fail so that the rule fails. This will make it easier to debug issues like #121.