gnome-terminal highlight URLs ending in close-parenDisable hyperlinks in gnome-terminalGNOME 3 (using Gnome-shell) very slow at startupGnome-terminal not working properly with screen-256colorsHighlight search results in GNOME Terminal?Trap gnome-terminal close buttongnome-terminal starts with “grep: write error: Broken pipe” messageGnome-Terminal Auto CloseGnome control center fail on 17.04 ubuntu gnomeLaunch command in gnome-terminal, then close gnome-terminal without ending executed command?gnome-terminal not working after upgrade to 17.10gnome-terminal and some other commands cannot start in Ubuntu 18.04

Why does my electric oven present the option of 40A and 50A breakers?

How can I offer a test ride while selling a bike?

Is there any Biblical Basis for 400 years of silence between Old and New Testament?

Do I add my ability modifier to the damage of the bonus-action attack granted by the Crossbow Expert feat?

Pros and cons of writing a book review?

Rotated Position of Integers

Client's editor wants to work directly on my InDesign files

How to decline physical affection from a child whose parents are pressuring them?

How do you translate “is all” used at the end of a sentence?

California: "For quality assurance, this phone call is being recorded"

500 Error Page for HTTPS connection in Sitecore JSS in Connected Mode

Credit card offering 0.5 miles for every cent rounded up. Too good to be true?

Self referencing scalar function nesting level exceeded when adding a select

Creating Fictional Slavic Place Names

Setting extra bits in a bool makes it true and false at the same time

Is American Express widely accepted in France?

Why were the Night's Watch required to be celibate?

Relativistic resistance transformation

Beginner's snake game using PyGame

What caused the tendency for conservatives to not support climate change regulations?

Asking bank to reduce APR instead of increasing credit limit

How much current can Baofeng UV-5R provide on +V pin?

What does War Machine's "Canopy! Canopy!" line mean in "Avengers: Endgame"?

How do I get a list of only the files (not the directories) from a package?



gnome-terminal highlight URLs ending in close-paren


Disable hyperlinks in gnome-terminalGNOME 3 (using Gnome-shell) very slow at startupGnome-terminal not working properly with screen-256colorsHighlight search results in GNOME Terminal?Trap gnome-terminal close buttongnome-terminal starts with “grep: write error: Broken pipe” messageGnome-Terminal Auto CloseGnome control center fail on 17.04 ubuntu gnomeLaunch command in gnome-terminal, then close gnome-terminal without ending executed command?gnome-terminal not working after upgrade to 17.10gnome-terminal and some other commands cannot start in Ubuntu 18.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















When gnome-terminal 3.6.2 highlights a URL ending in ), it incorrectly omits that ). Such URLs are found in wikis with disambiguation pages, such as http://zelda.gamepedia.com/Ocarina_of_Time_(Item), or thousands more in Wikipedia.



How can this be fixed?



Related: Disable hyperlinks in gnome-terminal










share|improve this question






























    0















    When gnome-terminal 3.6.2 highlights a URL ending in ), it incorrectly omits that ). Such URLs are found in wikis with disambiguation pages, such as http://zelda.gamepedia.com/Ocarina_of_Time_(Item), or thousands more in Wikipedia.



    How can this be fixed?



    Related: Disable hyperlinks in gnome-terminal










    share|improve this question


























      0












      0








      0








      When gnome-terminal 3.6.2 highlights a URL ending in ), it incorrectly omits that ). Such URLs are found in wikis with disambiguation pages, such as http://zelda.gamepedia.com/Ocarina_of_Time_(Item), or thousands more in Wikipedia.



      How can this be fixed?



      Related: Disable hyperlinks in gnome-terminal










      share|improve this question
















      When gnome-terminal 3.6.2 highlights a URL ending in ), it incorrectly omits that ). Such URLs are found in wikis with disambiguation pages, such as http://zelda.gamepedia.com/Ocarina_of_Time_(Item), or thousands more in Wikipedia.



      How can this be fixed?



      Related: Disable hyperlinks in gnome-terminal







      14.04 gnome gnome-terminal url syntax-highlighting






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:24









      Community

      1




      1










      asked Mar 22 '17 at 15:47









      Camille GoudeseuneCamille Goudeseune

      1669




      1669




















          1 Answer
          1






          active

          oldest

          votes


















          1














          Strictly speaking this is not incorrect per se, since there is no standard describing how to locate the exact boundaries of a link inside a text. It's a bit of guesswork, and as such, there will always be cases when it doesn't exactly do what you're hoping for.



          URLs sometimes appear inside parantheses, e.g. (http://example.com), and here the desired behavior is to exclude the closing parenthesis.



          The regular expressions that locate URLs were completely rewritten in gnome-terminal version 3.18.3. However, the new behavior isn't what you're looking for either. The new behavior terminates the URL before the ( character.



          These regexes are not configurable, you have to edit gnome-terminal's source code and recompile in order to change them.



          Update: In bug 763980 we further improved gnome-terminal to correctly handle both cases. Beginning with version 3.25.1, it allows balanced pairs of parentheses in URLs. As such, in http://example.com/foo_(bar) (or in your example) the trailing parenthesis will be part of the URL, whereas in (http://example.com/foo) it won't.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f895710%2fgnome-terminal-highlight-urls-ending-in-close-paren%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Strictly speaking this is not incorrect per se, since there is no standard describing how to locate the exact boundaries of a link inside a text. It's a bit of guesswork, and as such, there will always be cases when it doesn't exactly do what you're hoping for.



            URLs sometimes appear inside parantheses, e.g. (http://example.com), and here the desired behavior is to exclude the closing parenthesis.



            The regular expressions that locate URLs were completely rewritten in gnome-terminal version 3.18.3. However, the new behavior isn't what you're looking for either. The new behavior terminates the URL before the ( character.



            These regexes are not configurable, you have to edit gnome-terminal's source code and recompile in order to change them.



            Update: In bug 763980 we further improved gnome-terminal to correctly handle both cases. Beginning with version 3.25.1, it allows balanced pairs of parentheses in URLs. As such, in http://example.com/foo_(bar) (or in your example) the trailing parenthesis will be part of the URL, whereas in (http://example.com/foo) it won't.






            share|improve this answer





























              1














              Strictly speaking this is not incorrect per se, since there is no standard describing how to locate the exact boundaries of a link inside a text. It's a bit of guesswork, and as such, there will always be cases when it doesn't exactly do what you're hoping for.



              URLs sometimes appear inside parantheses, e.g. (http://example.com), and here the desired behavior is to exclude the closing parenthesis.



              The regular expressions that locate URLs were completely rewritten in gnome-terminal version 3.18.3. However, the new behavior isn't what you're looking for either. The new behavior terminates the URL before the ( character.



              These regexes are not configurable, you have to edit gnome-terminal's source code and recompile in order to change them.



              Update: In bug 763980 we further improved gnome-terminal to correctly handle both cases. Beginning with version 3.25.1, it allows balanced pairs of parentheses in URLs. As such, in http://example.com/foo_(bar) (or in your example) the trailing parenthesis will be part of the URL, whereas in (http://example.com/foo) it won't.






              share|improve this answer



























                1












                1








                1







                Strictly speaking this is not incorrect per se, since there is no standard describing how to locate the exact boundaries of a link inside a text. It's a bit of guesswork, and as such, there will always be cases when it doesn't exactly do what you're hoping for.



                URLs sometimes appear inside parantheses, e.g. (http://example.com), and here the desired behavior is to exclude the closing parenthesis.



                The regular expressions that locate URLs were completely rewritten in gnome-terminal version 3.18.3. However, the new behavior isn't what you're looking for either. The new behavior terminates the URL before the ( character.



                These regexes are not configurable, you have to edit gnome-terminal's source code and recompile in order to change them.



                Update: In bug 763980 we further improved gnome-terminal to correctly handle both cases. Beginning with version 3.25.1, it allows balanced pairs of parentheses in URLs. As such, in http://example.com/foo_(bar) (or in your example) the trailing parenthesis will be part of the URL, whereas in (http://example.com/foo) it won't.






                share|improve this answer















                Strictly speaking this is not incorrect per se, since there is no standard describing how to locate the exact boundaries of a link inside a text. It's a bit of guesswork, and as such, there will always be cases when it doesn't exactly do what you're hoping for.



                URLs sometimes appear inside parantheses, e.g. (http://example.com), and here the desired behavior is to exclude the closing parenthesis.



                The regular expressions that locate URLs were completely rewritten in gnome-terminal version 3.18.3. However, the new behavior isn't what you're looking for either. The new behavior terminates the URL before the ( character.



                These regexes are not configurable, you have to edit gnome-terminal's source code and recompile in order to change them.



                Update: In bug 763980 we further improved gnome-terminal to correctly handle both cases. Beginning with version 3.25.1, it allows balanced pairs of parentheses in URLs. As such, in http://example.com/foo_(bar) (or in your example) the trailing parenthesis will be part of the URL, whereas in (http://example.com/foo) it won't.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 14 at 19:54

























                answered Mar 22 '17 at 20:32









                egmontegmont

                4,72411226




                4,72411226



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f895710%2fgnome-terminal-highlight-urls-ending-in-close-paren%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?