Last active
October 11, 2015 12:08
-
-
Save digitalicarus/3856714 to your computer and use it in GitHub Desktop.
regexen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-- 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