I was thinking I could do something like this:
where $foo stands for "any character that isn't part of "/*". But I don't know how to say that.split(/,(?!$foo*\*\//, $str);
---
A fair fight is a sign of poor planning.
In reply to Splitting outside comments by Sprad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |