Ruby regex for a split every four characters not working
I'm trying to split a sizeable string every four characters. This is how I'm trying to do it:

    big_string.split(\....\)

This is yielding a nil array. As far as I can see, this should be working. It even does when I plug it into an [online ruby regex test][1]. Why isn't it really working?


  [1]: http://rubular.com/
Ruby regex for a split every four characters not working
===

I'm trying to split a sizeable string every four characters. This is how I'm trying to do it:

    big_string.split(\....\)

This is yielding a nil array. As far as I can see, this should be working. It even does when I plug it into an [online ruby regex test][1]. Why isn't it really working?


  [1]: http://rubular.com/