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.
In reply to Re^5: Shortest way to replace a string
by BrowserUk
in thread Shortest way to replace a string
by nikfr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |