<?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[problem with this regex: &#x5C;b.{1,6}&#x5C;b]]></title><description><![CDATA[<p dir="auto">I made a simple regex “\b.{1,6}\b” that matches every word contains less than 7 charecters,<br />
And yes it works, But the problem that it’s matching this type of words: “ab!cdefghi”, while it contains 10 charecters… maybe because it contains “!” symbol.<br />
so is there any way to make a regex that don’t match words contains +6 charecters even it contains a symbol like “!”</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/24421/problem-with-this-regex-b-1-6-b</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 16:24:52 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/24421.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 May 2023 02:24:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to problem with this regex: &#x5C;b.{1,6}&#x5C;b on Thu, 04 May 2023 21:45:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26710">@Mark-Olson</a><br />
Thank you very much, it worked very well…<br />
Also thanks to everyone who tried to help.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86168</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86168</guid><dc:creator><![CDATA[Bahaa0013]]></dc:creator><pubDate>Thu, 04 May 2023 21:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to problem with this regex: &#x5C;b.{1,6}&#x5C;b on Mon, 01 May 2023 20:41:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26710">@mark-olson</a>,</p>
<p dir="auto">Indeed, I would <strong>not</strong> have thought of that. As always, it is the <strong>borderline</strong> cases that need to be <strong>studied</strong> !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86068</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86068</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 01 May 2023 20:41:31 GMT</pubDate></item><item><title><![CDATA[Reply to problem with this regex: &#x5C;b.{1,6}&#x5C;b on Mon, 01 May 2023 11:20:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26710">@Mark-Olson</a></p>
<p dir="auto">Nice point about matching at start/end of file.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86049</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86049</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Mon, 01 May 2023 11:20:36 GMT</pubDate></item><item><title><![CDATA[Reply to problem with this regex: &#x5C;b.{1,6}&#x5C;b on Mon, 01 May 2023 03:21:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/27558">@Bahaa0013</a><br />
<code>(?&lt;!\S)\S{1,6}(?!\S)</code></p>
<pre><code>abdc!
#$#$@
$##@
~~~NO
&amp;
*(
#R%$%$%#
abcdefg
</code></pre>
<p dir="auto">My regex will mark only first six lines, not last two.</p>
<p dir="auto">Note that I chose the negative assertions “not not a whitespace before or after” (<code>(?&lt;!\S)</code> and <code>(?!\S)</code>) because that assertion matches at the beginning and end of the file, and the alternative “must be a whitespace” (<code>(?&lt;=\s)</code> and <code>(?=\s)</code>) do not.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/86040</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/86040</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Mon, 01 May 2023 03:21:50 GMT</pubDate></item></channel></rss>