Skip to content

Instantly share code, notes, and snippets.

@ryancastro
Created August 1, 2013 13:27
Show Gist options
  • Save ryancastro/6131308 to your computer and use it in GitHub Desktop.
Save ryancastro/6131308 to your computer and use it in GitHub Desktop.
Searching Sublime Text regex across multiple new line characters. Because I keep forgetting.

Regular expressions in Sublime Text 2 only seach single lines by default. You can force them to search all lines with an inline search modifier: (?s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment