Now, 'apple' will no longer result in 'apple pie' being deleted.
...but "apple\n" still gets tossed. Use \z to match the literal end-of-string and $ for end-of-string-or-newline-you-know-whatever.
In reply to Re^5: deleting a specific element from an array
by kyle
in thread deleting a specific element from an array
by sugar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |