Skip to content

Instantly share code, notes, and snippets.

@ErikCorryGoogle
Created January 17, 2017 13:51
Show Gist options
  • Save ErikCorryGoogle/74f128601a3b68222fce8942dcca555e to your computer and use it in GitHub Desktop.
Save ErikCorryGoogle/74f128601a3b68222fce8942dcca555e to your computer and use it in GitHub Desktop.
/\1/ // Matches Unicode code point 1 aka Ctrl-A
/()\1/ // Empty capture followed by a backreference to that capture
/()\01/ // Empty capture followed by code point 1
/\11/ // Match a tab character, which is code point 9!
/\18/ // Match code point 1, followed by "8"
/\176/ // Match a tilde, "~"
/\400/ // Match a space followed by a zero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment