We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 7: Regular Expressions I
Day 7: Regular Expressions I
Sort by
recency
|
169 Discussions
|
Please Login in order to post a comment
How do you guys handle
ReferenceError: s is not defined
? The s variable is scoped to main(), which I cannot edit, so I can't access it within regexVar(), and I can't make it global. Nor can I pass it to regexVar() as an argument.After reading others posts, there seem to be much better ways to do this than what I hacked together.
see...