Skip to content

Instantly share code, notes, and snippets.

@digitalicarus
Last active October 11, 2015 12:08
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 digitalicarus/3856714 to your computer and use it in GitHub Desktop.
Save digitalicarus/3856714 to your computer and use it in GitHub Desktop.
regexen
//-- JS number
[-+]?(?:(?:\d+)|(?:\d+\.\d+)|(?:\.\d+))(?:e[-+]?\d+)?
//-- vim non-greedy multiline http://www.fumbling-in-the-dark.com/2011/08/non-greedy-multi-line-search-and.html
%s/text1\_.\{-}text2/text3/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment