I navigated to a file while browsing the source code of a project. It is a javascript file and it contains the following:
var Tools = {};
...
Tools.EMAIL_ADDR_PATTERN = /\w+@[a-zA-Z0-9_-]+?(?:\.[a-zA-Z]{2,6})+/gim;
What type is the EMAIL_ADDR_PATTERN? Why is capitalised? How can be invoked?
This might be quite simple, however my js knowledge is very limited.
/..../i) anyway.\win the beginning but then went for[a-zA-Z0-9_-]instead of[\w-].