rails/rails — pull request #6044 by gazay (2012-04-29 09:49:22+00:00)
Title: Tests for regexp separator in String#truncate

After this commit we can use regexp as separator in String#truncate https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270