Thanks for the documentation link. That certainly has a lot more text than I found where I was previously looking: and no "TODO"s in sight. I have a bit of reading ahead of me.
Yes, I was aware of why I was getting two \037 characters at the end (in the first solution). What I haven't figured out yet is why I was getting zero \037 characters at the end (when I changed ',?' to '(?:,|\000)' — in the second solution).
Thanks also for the additional feedback: much appreciated.
-- Ken
In reply to Re^5: Suggestions to make this code more Perlish
by kcott
in thread Suggestions to make this code more Perlish
by ricardo_sdl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |