Split on "," if (0 or 1 occurances) (?) and if there is NOT (!) a space after ( ).
So, if I wanted to check for 1 or more spaces, would this be correct ?
split /,(?! +)/, $str
In reply to Re: Re: A question on splitting
by TASdvlper
in thread A question on splitting
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |