You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
I tried that first, but they I have an empty element if the string starts with spaces. ' ' is special cased in perl, it is exactly like /s+/ but strips leading spaces...
93c73e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just make it /\s+/? wouldnt ' ' generate nil elements in the list?
93c73e9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried that first, but they I have an empty element if the string starts with spaces. ' ' is special cased in perl, it is exactly like /s+/ but strips leading spaces...