Skip to content

Instantly share code, notes, and snippets.

Shmuel Zeigerman shmuz

Block or report user

Report or block shmuz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
shmuz / OpenURL.lua
Last active Aug 29, 2015
A Far Manager Editor macro for opening URL under cursor
View OpenURL.lua
-- shmuel 20.06.2014 00:22:00 +0200
local patt = [=[
\b http s? :\/\/ [^\s`'"[\](){}<>]+ |
\b ftp :\/\/ [^\s`'"[\](){}<>]+ |
\b www \d* \. [^\s`'"[\](){}<>]+ |
\b mailto: [^\s`'"[\](){}<>]+ |
(?: \b [a-z]:)? (?: [\\\/]? [\w.\-]+ )+ [\\\/]?
]=], "ix")
You can’t perform that action at this time.