Skip to content

Instantly share code, notes, and snippets.

@mattsims
Last active August 29, 2015 14:22
Show Gist options
  • Save mattsims/df4648e116a028420b98 to your computer and use it in GitHub Desktop.
Save mattsims/df4648e116a028420b98 to your computer and use it in GitHub Desktop.
Coda regex's for upgrading SusyOne to Susy 2.x
Search: at-breakpoint
Replace: susy-breakpoint
Search (regex): span-columns\((\d{1,2})( omega)?\)
Replace: span(\1\2)
Search (regex): span-columns\((\d{1,2})( omega)?,
Replace: span(\1\2 of
Search (regex): pre\((\d{1,2})( omega)?,
Replace: pre(\1\2 of
Search (regex): isolate-grid\((\d{1,2})( omega)?,
Replace: gallery(\1 of
Search (regex): isolate-grid\((\d{1,2})\)
Replace: gallery(\1)
Search (regex): with-grid-settings\((\d{1,2}),(.*?),(.*?),(.*?)\)
Replace: with-layout(\1 (\2 \3 \4))
Search: reset-columns
Replace: full
Search (regex): space\((\d{1,2}), (.*?)\)
Replace: span(\1 of \2)
Upgrade Path: http://susy.readthedocs.org/en/latest/upgrade/#upgrade-path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment