but I still think we could have use for a named default array. Is there a reason for not having it in there?
One reason: If it existed, the safest thing to do would be to copy it into your own array to ensure that the data it contained didn't get overwritten by a subsequent regex invocation before you were finished with it.
What would be the point of the global default array if the only thing you could safely do with it is copy it to somewhere else, when you can assign the results directly to that other place?
In reply to Re^3: Is there a default array for reg exp memory variables?
by BrowserUk
in thread Is there a default array for reg exp memory variables?
by korpenkraxar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |