Can I use variables in regular? Or is it just wrong thinking?
For example, a character in my regular is determined by using a certain character on the filename.
It may or may not be @.
But that doesn't mean you can use @* for either case.
It's not an assumption, it's that I have to determine which case to use based on whether the filename has the @ symbol or not.
afterTheAtSymbol = /\@(.*)(\.[^\.]+)$/,
afterTheAtSymbol = /\^(.*)(\.[^\.]+)$/,
