Thank you for your tips =)
I solved it by copying the referenced array to a "normal array" before the foreach. TMTOWTDI =)
I usually escape more than needed. Better safe than sorry. About the redundancy with ^ and /g, I totally agree!
In reply to Re^4: Possible bug with array pointer
by jockel
in thread Possible bug with array pointer
by jockel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |