// group 1: full path without line and column, matched by `*.*` in the end to work only on paths with extensions in the end (s.t. node:10352 would not match)
// group 2: drive letter on windows with trailing backslash or leading slash on mac/linux
// group 3: line number, matched by (:(\d+))
// group 4: column number, matched by ((?::(\d+))?)
// eg: at Context.<anonymous> (c:\Users\someone\Desktop\mocha-runner\test\test.js:26:11)
* Matches and handles relative and absolute file links in the string provided.
* Returns <span/> element that wraps the processed string, where matched links are replaced by <a/> and unmatched parts are surrounded by <span/> elements.
* 'onclick' event is attached to all anchored links that opens them in the editor.
* If no links were detected, returns the original string.
link.title=isMacintosh?nls.localize('fileLinkMac',"Click to follow (Cmd + click opens to the side)"):nls.localize('fileLink',"Click to follow (Ctrl + click opens to the side)");
link.title=isMacintosh?nls.localize('fileLinkMac',"Click to follow (Cmd + click opens to the side)"):nls.localize('fileLink',"Click to follow (Ctrl + click opens to the side)");