<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/tags/newline</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 07 Sep 2008 04:27:23 GMT</pubDate>
<item>
<title>(Emacs Lisp) Type a newline in Emacs</title>
<link>http://snipplr.com/view/3256/type-a-newline-in-emacs/</link>
<description><![CDATA[ <p>A command, not code, but a command so obscure and useful, that it merits its own entry anyway!</p> ]]></description>
<pubDate>Mon, 09 Jul 2007 13:17:23 GMT</pubDate>
<guid>http://snipplr.com/view/3256/type-a-newline-in-emacs/</guid>
</item>
<item>
<title>(Emacs Lisp) remove blank lines command</title>
<link>http://snipplr.com/view/2778/remove-blank-lines-command/</link>
<description><![CDATA[ <p>Delete doubled newlines from the current buffer.  Only works on completely empty lines, not lines that contain whitespace.</p> ]]></description>
<pubDate>Sat, 02 Jun 2007 00:26:09 GMT</pubDate>
<guid>http://snipplr.com/view/2778/remove-blank-lines-command/</guid>
</item>
<item>
<title>(JavaScript) Use a regex on a multiline string</title>
<link>http://snipplr.com/view/2419/use-a-regex-on-a-multiline-string/</link>
<description><![CDATA[ <p>Apply string.replace() where string has line breaks, and .replace() only happens for the first line of the string!  The fix is to turn newlines into unicode characters, run the regex, then turn the unicode back into newlines.

From comp.lang.javascript (thanks, Evertjan):</p> ]]></description>
<pubDate>Fri, 30 Mar 2007 09:14:35 GMT</pubDate>
<guid>http://snipplr.com/view/2419/use-a-regex-on-a-multiline-string/</guid>
</item>
</channel>
</rss>