I have a bunch of regular expressions like lower = /[a-z]/ Later in my program i need to use this as /[…