Skip to content

Instantly share code, notes, and snippets.

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a href="https://2wc2.adj.st/?show=sleepschool&adj_t=np8g4ip"/>Click here</a>
</body>
@baldursson
baldursson / space_expressions.js
Last active October 16, 2015 11:24
Create space around operators, find and replace expressions. For use with e.g. Sublime Text
/* Replacement strings underneath every expression */
/(?<![=\s"'])=(?![=\s"'])/
" = "
/(?<![=\s])==(?![=\s])/
" == "
/(?<=\S)===(?=\S)/
" === "