@danko9: actually for that specific case single escape seems to work too, since for regex engine there’s no difference between “\n” and a literal newline. double escape is in fact for cases when you want to get a literal “\” symbol, for example when you want to pass “\s” to regex without either of them being processed as special characters before they get to regex parser