-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
James Brundage
authored and
James Brundage
committed
Sep 22, 2024
1 parent
b8c74cc
commit afaeb1a
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# Matches ANSI Hyperlink | ||
\e # An Escape | ||
\] # Followed by a right bracket | ||
8[^;]{0,};; # Followed by 8 and two semicolons | ||
8[^;]{0,};; # Followed by 8 (and optional non-semicolon content) and two semicolons | ||
(?<Uri>(?:.|\s){0,}?(?=\z|\e)) # Followed by the uri | ||
\e # Followed by an escape | ||
\\ # Followed by a slash | ||
(?<Text>(?:.|\s){0,}?(?=\z|\e)) # Followed by the link text | ||
\e # Followed by an escape | ||
\] # Followed by a right bracket | ||
8[^;]{0,};; # Followed by 8 and two semicolons | ||
8[^;]{0,};; # Followed by 8 (and optional non-semicolon content) and two semicolons | ||
\e # Followed by an Escape | ||
\\ # Finally a closing slash | ||
|