Quote:
there will be a reserved sequence that is unusable-- this will inevitably cause problems for some users.

You might think $`~(1) will never be used by anybody, but eventually someone just might come right back to this very forum with a new "bug" saying that weird things happen when they use $`~(1) in their replacement.

Therefore the reserved sequence might as well be something that is common enough to at least be predictable. The user who ends up running into a bug with $`~(N) is going to be orders of magnitude more confused about what the problem is than a user trying to use $N, because at least there is precedent for $N being reserved in such identifiers. Burying these gotchas deeper in the engine doesn't solve the problem, it just hides it from *you*, and that inevitably makes things less predictable... and unpredictable languages are just *bad*.
And since the sequence must be an identifier because it needs to be evaluated by the engine, I proposed something that is already not usable, $*N, so that solution wouldn't cause problems to any user, and it makes nothing unpredictable, but yes, it involves more work

Quote:
I think Khaled should simply document that $N shouldn't be used within $regsubex, that at least will solve the confusion surrounding this engine limitation.
Indeed


#mircscripting @ irc.swiftirc.net == the best mIRC help channel