Coloring several matches on the same line with an older version of pcregreppcregrep matching stop at 1st occurrenceHow to check long files with repeated strings using pcregrepHow to install / enable pcregrep on Cygwin?Multiline regex - how to skip lines to the end of last matchPython: Make List of Matching Patterns for Subprocess Call to pcregrep multilinesplit pcregrep multiline matchespcregrep multiline SQL matchUnexpected multi-line pcregrep behavior for patterns containing a pipeHow to match something n times or less with pcregrep?Using pcregrep with --color option - only highlight non captured expression?

Using a found spellbook as a Sorcerer-Wizard multiclass

If you had a giant cutting disc 60 miles diameter and rotated it 1000 rps, would the edge be traveling faster than light?

What's the name of this light airplane?

Russian equivalents of "no love lost"

BGP multihome issue

What was with Miles Morales's stickers?

How to project 3d image in the planes xy, xz, yz?

Trapping Rain Water

Why was the Sega Genesis marketed as a 16-bit console?

Why only the fundamental frequency component is said to give useful power?

Should I compare a std::string to "string" or "string"s?

What is wrong with this proof that symmetric matrices commute?

What can plausibly explain many of my very long and low-tech bridges?

Hottest Possible Hydrogen-Fusing Stars

How did students remember what to practise between lessons without any sheet music?

Does an ice chest packed full of frozen food need ice?

What makes an item an artifact?

Should an arbiter claim draw at a K+R vs K+R endgame?

How to chain Python function calls so the behaviour is as follows

Passing multiple files through stdin (over ssh)

Was the Tamarian language in "Darmok" inspired by Jack Vance's "The Asutra"?

Payment instructions allegedly from HomeAway look fishy to me

Can an Aarakocra use a shield while flying?

How to retract an idea already pitched to an employer?



Coloring several matches on the same line with an older version of pcregrep


pcregrep matching stop at 1st occurrenceHow to check long files with repeated strings using pcregrepHow to install / enable pcregrep on Cygwin?Multiline regex - how to skip lines to the end of last matchPython: Make List of Matching Patterns for Subprocess Call to pcregrep multilinesplit pcregrep multiline matchespcregrep multiline SQL matchUnexpected multi-line pcregrep behavior for patterns containing a pipeHow to match something n times or less with pcregrep?Using pcregrep with --color option - only highlight non captured expression?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have to use version 7.8 of pcregrep (under CentOS). When I give it the --color option, it colors only the first match on each line. Is there a way to make it find and color the subsequent matches as well?










share|improve this question




























    0















    I have to use version 7.8 of pcregrep (under CentOS). When I give it the --color option, it colors only the first match on each line. Is there a way to make it find and color the subsequent matches as well?










    share|improve this question
























      0












      0








      0








      I have to use version 7.8 of pcregrep (under CentOS). When I give it the --color option, it colors only the first match on each line. Is there a way to make it find and color the subsequent matches as well?










      share|improve this question














      I have to use version 7.8 of pcregrep (under CentOS). When I give it the --color option, it colors only the first match on each line. Is there a way to make it find and color the subsequent matches as well?







      pcregrep






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 24 at 16:15









      AlwaysLearningAlwaysLearning

      2,64121238




      2,64121238






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          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%2fstackoverflow.com%2fquestions%2f55325834%2fcoloring-several-matches-on-the-same-line-with-an-older-version-of-pcregrep%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • 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%2fstackoverflow.com%2fquestions%2f55325834%2fcoloring-several-matches-on-the-same-line-with-an-older-version-of-pcregrep%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript