Closed SecurityForUs closed 11 years ago
Ah thanks. I'll accept your change. I haven't used compile too often because all past code has been matching actual strings. This time I need to match against a variable..and had to use compile..and just did whatever worked quickly with Google's help :)
Thanks for the tip.
Compile works either way but its usually advisable to do compile than not. :) On Aug 31, 2013 11:40 PM, "arvinddoraiswamy" notifications@github.com wrote:
Ah thanks. I'll accept your change. I haven't used compile too often because all past code has been matching actual strings. This time I need to match against a variable..and had to use compile..and just did whatever worked quickly with Google's help :)
Thanks for the tip.
— Reply to this email directly or view it on GitHubhttps://github.com/arvinddoraiswamy/mywebappscripts/pull/1#issuecomment-23618392 .
Cool. Will keep that in mind and get more familiar with it. Thanks :)
Otherwise you're defeating the purpose of compiling regex at all. :)