Skip to content

Fix Slow Markdown Front matter stripping regexp - #19894

Merged
Matt Bierner (mjbvz) merged 1 commit into
microsoft:masterfrom
mjbvz:fix-slow-front-matter-regexp
Feb 4, 2017
Merged

Matt Bierner (mjbvz) merged 1 commit into
microsoft:masterfrom
mjbvz:fix-slow-front-matter-regexp

Conversation

@mjbvz

Copy link
Copy Markdown
Contributor

Bug
For long/not-terminated frontmatter in a markdown file, we can currently hang the process while trying match it using a regular expression

Fix
Use a more efficent regexp to identify the front matter

**Bug**
For long/not-terminated frontmatter in a markdown file, we can currently hang the process while trying match it using a regular expression

**Fix**
Use a more efficent regexp to do this.
@mjbvz
Matt Bierner (mjbvz) force-pushed the fix-slow-front-matter-regexp branch from 109db16 to 812751e Compare February 4, 2017 01:41
@mjbvz
Matt Bierner (mjbvz) merged commit 4495f71 into microsoft:master Feb 4, 2017
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants