<?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[How to define a UDL Delimiter with spaces]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I believe this is similar to the topic at <a href="https://notepad-plus-plus.org/community/topic/12991/language-definition-space-in-comment-definition" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/12991/language-definition-space-in-comment-definition</a>, although perhaps sufficiently different to requires a separate post.</p>
<p dir="auto">I have been using the the UDL for my own nefarious purposes, not for syntax highlighting, but rather to highlight event entries in large log files. This, by and large, has worked OK. I am using a Delimiter <strong>Open</strong> event such as <code>Level="ERROR"</code>,  that could appear in the middle to a log entry, and a <strong>Close</strong> of <code>((EOL))</code>.</p>
<p dir="auto">However, I now wish to highlight a single entry that has spaces within in, such that the Open delimiter would be <code>Message="ICE failed event"</code>. Of course, this fails as UDL is taking the spaces to mean separate delimiters. I have tried encasing the term in single quotes at various points, but can’t seem to get this to work.</p>
<p dir="auto">The term will also actually appear in a line that has had a style applied due to a <code>Level="INFO"</code> delimiter, so I will need to next one inside the other. An example log line would be:</p>
<pre><code>2016-12-28T04:20:39.039+00:00 node1 2016-12-28 04:20:39,039 Level="INFO" Name="support.ice" Message="ICE failed event" Media-type="audio" Stream-id="0" Component-id="RTP" Call-id="237a5bea59f9479f828330183a34a3b4"
</code></pre>
<p dir="auto">Regards,</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12995/how-to-define-a-udl-delimiter-with-spaces</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 20:52:21 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12995.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Dec 2016 15:11:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to define a UDL Delimiter with spaces on Fri, 27 Jan 2017 08:33:29 GMT]]></title><description><![CDATA[<p dir="auto">operators &amp; delimiters<br />
delimiter 1 style</p>
<p dir="auto">open:  Message="</p>
<p dir="auto">close: "</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21289</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21289</guid><dc:creator><![CDATA[Js jS]]></dc:creator><pubDate>Fri, 27 Jan 2017 08:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to define a UDL Delimiter with spaces on Thu, 12 Jan 2017 14:25:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/swinster" aria-label="Profile: swinster">@<bdi>swinster</bdi></a></p>
<p dir="auto">what about using operators 2 with something like “ICE failed event”,<br />
it doesn’t color Message= so.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20868</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20868</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Thu, 12 Jan 2017 14:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to How to define a UDL Delimiter with spaces on Thu, 12 Jan 2017 14:05:15 GMT]]></title><description><![CDATA[<p dir="auto">I take it there is no way to achieve this as yet in Notepad++?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20866</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20866</guid><dc:creator><![CDATA[swinster]]></dc:creator><pubDate>Thu, 12 Jan 2017 14:05:15 GMT</pubDate></item></channel></rss>