On May 14, 2009, at 1:23 PM, Thomas Bellman wrote: > > James Turnbull wrote: > >> +module Puppet::Parser::Functions >> + newfunction(:split, :type => :rvalue, >> + :doc => "Split a string variable into an array using the >> specified split character. > > I suggest that we make split() take a regular expression instead of a > fixed string to split on. That would make it more powerful. > > I have an implementation of this ready, if you want.
That seems reasonable. -- When I die, I want go out just like my grandfather, in his sleep, peaceful and quiet...not kicking and screaming like the other guys in his car. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
