<?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[Regex - Hex Code Not Working as Expected]]></title><description><![CDATA[[[topic:post-is-deleted]]]]></description><link>https://community.notepad-plus-plus.org/topic/25911/regex-hex-code-not-working-as-expected</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 20:44:38 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25911.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Jun 2024 22:41:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Regex - Hex Code Not Working as Expected on Sat, 29 Jun 2024 21:24:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sylvester-bullitt" aria-label="Profile: Sylvester-Bullitt">@<bdi>Sylvester-Bullitt</bdi></a> ,</p>
<blockquote>
<p dir="auto">But when I type the same string into the forum dialog, the soft hyphen doesn’t show as it did before</p>
</blockquote>
<p dir="auto">That’s because soft-hyphen is a non-printing character, and the forum doesn’t display non-printing characters (because they have no glyph to display).  As I said in my first reply, your original paste into the forum used a normal ASCII hyphen, which is why it was visible in the forum.</p>
<blockquote>
<p dir="auto">[deleted post]</p>
</blockquote>
<p dir="auto">I originally commented on your deleted post (yes, as a moderator, I can see it), but I decided to retract that part, because maybe you deleted it because you already realized what you did wrong.</p>
<blockquote>
<p dir="auto">I’m going to have to shut down for the night</p>
</blockquote>
<p dir="auto">Sounds like you need the sleep.  I hope (by the time you read this) that you got it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95606</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95606</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sat, 29 Jun 2024 21:24:29 GMT</pubDate></item><item><title><![CDATA[Reply to Regex - Hex Code Not Working as Expected on Thu, 27 Jun 2024 23:07:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sylvester-bullitt" aria-label="Profile: Sylvester-Bullitt">@<bdi>Sylvester-Bullitt</bdi></a> ,</p>
<p dir="auto">That is the correct sequence of bytes for UTF-8 encoding of U+00AD – every character above U+007F takes at least two bytes to encode in UTF-8.</p>
<p dir="auto">But Notepad++ knows this, and if it reads it as UTF-8, it will display the soft-hyphen as shown in my screenshot (or as nothing, if you have <strong>View &gt; Show Symbol &gt; Show Non-Printing Characters</strong> turned off) – and when it is properly in UTF-8 mode (see your status bar, lower right), then it will match with the regex I showed in my screenshot.</p>
<p dir="auto">fuller screenshot with encoding shown:<br />
<img src="/assets/uploads/files/1719529673411-964341d0-c262-48b1-86e7-581ff4ef797f-image.png" alt="964341d0-c262-48b1-86e7-581ff4ef797f-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/95601</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95601</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 27 Jun 2024 23:07:58 GMT</pubDate></item><item><title><![CDATA[Reply to Regex - Hex Code Not Working as Expected on Thu, 27 Jun 2024 22:50:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sylvester-bullitt" aria-label="Profile: Sylvester-Bullitt">@<bdi>Sylvester-Bullitt</bdi></a> ,</p>
<p dir="auto">with an actual SoftHyphen, and not the ASCII hyphen that’s in your post, it works for me:</p>
<p dir="auto"><img src="/assets/uploads/files/1719528630884-1bfb1b83-89f4-417d-8c56-3f3a9ab1028d-image.png" alt="1bfb1b83-89f4-417d-8c56-3f3a9ab1028d-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/95598</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95598</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 27 Jun 2024 22:50:36 GMT</pubDate></item></channel></rss>