After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695700 - Make TerminalRegexPattern configurable by users
Make TerminalRegexPattern configurable by users
Status: RESOLVED DUPLICATE of bug 579859
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-12 12:53 UTC by Ingvar Hagelund
Modified: 2013-03-12 13:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ingvar Hagelund 2013-03-12 12:53:42 UTC
At the moment, TerminalRegexPattern is hardcoded into gnome-terminal. This makes it impossible to extend gnome-terminal to understand new types of hyperlink-like patterns. At the moment, popular link types like callto (exists, but is broken), and spotify does not work, and there is no way to fix them without patching gnome-terminal.

Changing TerminalRegexPattern to be a user configurable is one way to fix this.

Practical use: For us irssi-in-a-screen users (and hey, we are a large mass of users), it would be practical to be able to pick up stuff like this by scripts or apps. (And btw, (u)rxvt does this quite simply)

Media links
spotify:track:3AhXZa8sUQht0UEdBJgpGc
wiki:SomePage
google:lmgtf

Bug and request trackers
rt #1234
bz #1234
#1234

Phone numbers variants
555123456
555-123456
(555)123456
(555) 123456
+47 22225555
(+47) 22225555
+4722225555
All the above, prefixed with callto:, skype:, sip:, etc

The list is of course endless, but you've got the idea now, I guess.

br,
Ingvar
Comment 1 Christian Persch 2013-03-12 13:42:54 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 579859 ***