Skip to content

Conversation

RunDevelopment
Copy link
Member

This fixes #3052.

I fixed the problem by ignoring all matches that cause the problem. I think this is ok because empty tokens at the end of the string don't have any value anyways.

@github-actions
Copy link

github-actions bot commented Aug 30, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +6 B (+0.2%).

file master pull size diff % diff
components/prism-core.min.js 3.08 KB 3.08 KB +6 B +0.2%

Generated by 🚫 dangerJS against 22d5909

@RunDevelopment RunDevelopment merged commit a80a68b into PrismJS:master Oct 1, 2021
@RunDevelopment RunDevelopment deleted the issue3052 branch October 1, 2021 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Null access for empty matches with greedy matching

1 participant