<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x...]]></title><description><![CDATA[<p dir="auto">What are all of these? I discovered that \t was tab, but the others remain a mystery.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17376/search-and-replace-options-n-r-t-o-x</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 16:54:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17376.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Mar 2019 17:48:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Sat, 30 Mar 2019 20:29:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a></p>
<p dir="auto">Ah, okay, so extended mode support both <code>\0</code> and <code>\o</code>.  Good to know.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41741</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41741</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 30 Mar 2019 20:29:14 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Sat, 30 Mar 2019 17:20:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said:</p>
<blockquote>
<p dir="auto">it appears it truly is \o and not \0 (sorry, Peter)</p>
</blockquote>
<p dir="auto">I cannot know what the OP intended, but according to the source code, the list of characters in that string in the dialog box includes <code>\0</code>, not <code>\o</code>:</p>
<ul>
<li><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/installer/nativeLang/english.xml#L381" rel="nofollow ugc">english.xml line 381</a></li>
<li><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/installer/nativeLang/english.xml#L981" rel="nofollow ugc">english.xml line 981</a></li>
</ul>
<p dir="auto">And the <a href="http://docs.notepad-plus-plus.org/index.php/Searching_And_Replacing#Escape_sequences_supported_in_extended_mode" rel="nofollow ugc">outdated docs #Extended Mode</a> say,</p>
<blockquote>
<p dir="auto"><code>\0</code><br />
          <code>the NUL control character (ASCII 0x00). Not supported in regular expressions - use \x00 instead. </code></p>
</blockquote>
<p dir="auto">Some experiments, with a file that contains multiple <code>0</code> characters (and some others), any of the following will find the <code>0</code>s:</p>
<ul>
<li>Extended: <code>0</code></li>
<li>Extended: <code>\o060</code></li>
<li>Extended: <code>\x30</code></li>
<li>Regex: <code>0</code></li>
<li>Regex: <code>\060</code> (no o prefix)</li>
<li>Regex: <code>\x30</code></li>
</ul>
<p dir="auto">Similarly, if you have a file that’s got one or more NUL character</p>
<ul>
<li>Extended: <code>\0</code></li>
<li>Extended: <code>\o000</code></li>
<li>Extended: <code>\x00</code></li>
<li>Regex: <code>\0</code></li>
<li>Regex: <code>\000</code></li>
<li>Regex: <code>\x00</code></li>
</ul>
<p dir="auto">(So I actually disagree with the docs in this regard: in regex, <code>\0</code> <em>does</em> match the NUL character.  Probably, the docs were written under the older regex engine, not the “most recent” Boost 3.5.6 engine.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41737</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41737</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 30 Mar 2019 17:20:41 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Sat, 30 Mar 2019 01:26:54 GMT]]></title><description><![CDATA[<p dir="auto">From <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a>’s posting (see EITHER hyperlink), it appears it truly is <code>\o</code> and not <code>\0</code> (sorry, Peter).  I guess I will have to remember this the next time I want to express a search in octal, as I don’t believe regex will do octal.  In other words, I can promptly forget about this. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41730</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41730</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 30 Mar 2019 01:26:54 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Fri, 29 Mar 2019 23:08:19 GMT]]></title><description><![CDATA[<p dir="auto">ps to <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> :<br />
omg, an old ion saliu aka parpaluck thread, what a psycho.<br />
he even really insisted that claudia’s screenshots were all photoshopped.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41728</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41728</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Fri, 29 Mar 2019 23:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Fri, 29 Mar 2019 22:47:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14867">@art-kautz</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@Peterjones</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a> and <strong>All</strong>,</p>
<p dir="auto">Have a look to these <strong>two</strong> links, below. The <strong>first</strong> one is a post of mine, <strong>two years</strong> ago and the <strong>second</strong> is from the <strong>official</strong> ( and a bit <strong>out of date</strong> ! ) N++ documentation :</p>
<p dir="auto"><a href="https://notepad-plus-plus.org/community/topic/13808/search-replace-of-multiline-text-blocs/2" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/13808/search-replace-of-multiline-text-blocs/2</a></p>
<p dir="auto"><a href="http://docs.notepad-plus-plus.org/index.php/Searching_And_Replacing#Escape_sequences_supported_in_extended_mode" rel="nofollow ugc">http://docs.notepad-plus-plus.org/index.php/Searching_And_Replacing#Escape_sequences_supported_in_extended_mode</a></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41727</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41727</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Fri, 29 Mar 2019 22:47:02 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Fri, 29 Mar 2019 20:37:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said:</p>
<blockquote>
<p dir="auto">Are all of those the OP mentioned valid there?</p>
</blockquote>
<p dir="auto">The ones the OP mentioned are the escapes listed in the dialog box for what “Extended mode” is.  I never use Extended mode, but I assume if the dialog box mentions those escapes for Extended mode, they are valid for Extended mode.</p>
<blockquote>
<p dir="auto">Are there any real advantages to Ext mode or should I just go back to ignoring it. If you know…</p>
</blockquote>
<p dir="auto">From what I understand, it allows you to use characters like <code>^[].*</code> without their special regex meaning.  It might be nice to not have to escape those… but I rarely am searching for special characters, anyway.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41723</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41723</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 29 Mar 2019 20:37:12 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Fri, 29 Mar 2019 20:30:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3841">@PeterJones</a></p>
<p dir="auto">I largely ignore Extended mode. Are all of those the OP mentioned valid there? Are there any real advantages to Ext mode or should I just go back to ignoring it.  If you know…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41722</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41722</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 29 Mar 2019 20:30:14 GMT</pubDate></item><item><title><![CDATA[Reply to Search and replace options &#x5C;n, &#x5C;r, &#x5C;t, &#x5C;o, &#x5C;x... on Fri, 29 Mar 2019 17:57:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14867">@Art-Kautz</a>, Welcome to the Community Forums,</p>
<p dir="auto">Those “escape” sequences allow entering special characters in the search/replace dialog (though it’s a <code>\0</code> backslash+zero, not <code>\o</code> backslash+letter+o)</p>
<p dir="auto">They are documented <a href="https://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html#boost_regex.syntax.perl_syntax.escapes" rel="nofollow ugc">https://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html#boost_regex.syntax.perl_syntax.escapes</a> .</p>
<p dir="auto">They are only active when you have the search mode set to Extended or Regular Expression.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/41721</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/41721</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Fri, 29 Mar 2019 17:57:19 GMT</pubDate></item></channel></rss>