Welcome to the Treehouse Community
Looking to learn something new?
Why do we use re instead of just using split()?
Why do we use re instead of just using split()? Wouldn't it have just been easier to do something like data.split('\s')?
Steven Parker216,014 Points
In a real-life situation you'll have choices of different techniques to approach each task. The course examples provide opportunities to learn and practice specific techniques, they aren't always the only, and perhaps not even the best possible solution to a given task.