Skip to content

Instantly share code, notes, and snippets.

@lukegre
Created March 11, 2017 21:27
Show Gist options
  • Save lukegre/50ced6cab9f2145d7fd421d9f4bea1ef to your computer and use it in GitHub Desktop.
Save lukegre/50ced6cab9f2145d7fd421d9f4bea1ef to your computer and use it in GitHub Desktop.
This file contains little "find all" snippets that are useful to find grammar mistakes in a document using regex in sublime
\b(\w+)\s+\1\b % repeated words
^[A-Za-z].*[A-Za-Z0-9] % lines that do not end with a full stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment