Skip to content

Instantly share code, notes, and snippets.

@subzey
Created March 28, 2012 19:39
Show Gist options
  • Save subzey/2229803 to your computer and use it in GitHub Desktop.
Save subzey/2229803 to your computer and use it in GitHub Desktop.
rx1 = /regularexpression/;
with({rx1: 0})
var rx1 = RegExp(/regular/ + /expression/);
var rx2 = /regularexpression/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment