in reply to Re^4: Combining regexes
in thread Combining regexes

... will not be detectable.

I should have said "will not be noticeable in practice." In fact, I will say it...


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^6: Combining regexes
by BrowserUk (Patriarch) on May 21, 2016 at 18:05 UTC
    I should have said "will not be noticeable in practice." In fact, I will say it...

    Agreed. But...

    Since there is no practical, clarity, nor conciseness advantage for this operation; why would you choose to use the less efficient over the more?

    Better methinks to get into the habit of thinking: 1 for 1 replacement of single chars, use tr///; than to have to always make a decision (or even investigate at what point) you should shift tack for this maneuverer.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Agreed. But... um...   Well, I can't really come up with any pertinent exception or counterargument here. I just wanted to make the point to davies that in the context of the OPed question, there wasn't much difference.


      Give a man a fish:  <%-{-{-{-<

        Fish is delicious!