mono/monodevelop — pull request #325 by rojepp (2013-07-07 21:20:45+00:00)
Title: Fix issue where F# char literal colouring would be too long

In this code, this match will catch too much and too much would be colored as `String`. Capturing "." or "\." should be enough for char literals, as they can only be one char long.

let trim (str:String) =
str.Split( [| '\n' ; '\r' |], StringSplitOptions.RemoveEmptyEntries)