I am trying to split the string below into words that include only letters and/or apostrophes('). However, it is returning an empty string as the first element in the array. Why is my Regex returning that empty string?
pry(main)> " //wont won't won't".split(/[^a-z']+/i)
=> ["", "wont", "won't", "won't"]
Why is my Regex returning that empty string?