Skip to content

Instantly share code, notes, and snippets.

@rrichardsonv
Created July 17, 2019 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rrichardsonv/910065ba7683415dd4af3ff8cabf1f94 to your computer and use it in GitHub Desktop.
Save rrichardsonv/910065ba7683415dd4af3ff8cabf1f94 to your computer and use it in GitHub Desktop.
match_2spaces_regex
// (preceded by beginning of line or beginning of line followed by 2 or more spaces)
// a group of 2 spaces
// (followed by any number of spaces and ending with <)
(^|(?<=^\s{2,}))(\s{2})(?=\s*<)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment