in reply to Re^3: Shortest way to replace a string
in thread Shortest way to replace a string

It does not match ٧, though.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^5: Shortest way to replace a string
by BrowserUk (Patriarch) on Sep 11, 2013 at 23:32 UTC
    It does not match ٧, though.

    Deliberately so.

    The day anyone shows me a real program doing math with non-Hindu-Arabic numerals, I'll consider that as a requirement.

    And then disregard it completely unless it is explicitly specified.

    In just the same way that I do not walk around permanently looking up -- just in case an iceberg should fall from the sky -- I do not program to cater for marginal, statistically unlikely, possibilities, unless there is some realistic expectation that they may occur.


    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".
    In the absence of evidence, opinion is indistinguishable from prejudice.