<?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[UDL definition for keywords that begin with an operator]]></title><description><![CDATA[<p dir="auto">I’m trying to update a version of the UDL for Ansys APDL to recognize all the operators; specifically including the divide ( / ) and multiply ( * ) symbols, as well as all of the keywords.  The problem is that there’s a whole group of keywords used in APDL that begin with both “/” and “*”; so if I include the divide and multiple operators, it doesn’t highlight those keywords.  Is there a way to have the operators only recognized if they appear somewhere after the beginning of the line?  Something like {wildcard symbol}{the operator}?<br />
Or, maybe a way to enforce an order of searching.  For example: first look for comments, then look for folding, then keywords, and finally operators.</p>
<p dir="auto">Anyway, any help or suggestions would be appreciated.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16190/udl-definition-for-keywords-that-begin-with-an-operator</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 09:07:12 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16190.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Aug 2018 13:38:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UDL definition for keywords that begin with an operator on Sat, 03 Nov 2018 23:22:45 GMT]]></title><description><![CDATA[<p dir="auto">Hello Forum,<br />
I have a very similar problem. I trie to write a xml file to autocomplete ansys apdl syntax. In the case of keyworts without slash and star everything works fine. The Keywords with extra sign * or / are shown in the dropdown box but I can’t autocomplete it.</p>
<p dir="auto">Can someone tell me what’s going wrong?</p>
<p dir="auto">Thanks Tobias</p>
]]></description><link>https://community.notepad-plus-plus.org/post/36016</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/36016</guid><dc:creator><![CDATA[Tobias Krieg]]></dc:creator><pubDate>Sat, 03 Nov 2018 23:22:45 GMT</pubDate></item><item><title><![CDATA[Reply to UDL definition for keywords that begin with an operator on Tue, 21 Aug 2018 22:37:22 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the feedback.</p>
<p dir="auto">Anyway, it looks like the option of putting spaces around those operators would do what I was looking for.  Unfortunately, I think I’d rather leave these operators as unidentified, rather than implementing the extra spaces in the code.  The improvement in ability to visually scan through the code isn’t improved that much, I don’t think, to make the extra effort worth it.</p>
<p dir="auto">But again, thank you for the responses.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34239</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34239</guid><dc:creator><![CDATA[Nathan P]]></dc:creator><pubDate>Tue, 21 Aug 2018 22:37:22 GMT</pubDate></item><item><title><![CDATA[Reply to UDL definition for keywords that begin with an operator on Tue, 21 Aug 2018 16:02:58 GMT]]></title><description><![CDATA[<p dir="auto">In <a href="https://notepad-plus-plus.org/community/topic/16088/does-the-udl-miss-the-ablity-to-recognize-methods-and-classes/15" rel="nofollow ugc">this thread</a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a> gives an example of a “custom lexer” that’s written in PythonScript, rather than requiring compiling a new DLL for the custom lexer.  You might be able to take those concepts and write up a solution that’s specific to your needs.  (I’ve never experimented with that… some day, I really need to, so that I can better help people use it.)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34228</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34228</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 21 Aug 2018 16:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to UDL definition for keywords that begin with an operator on Tue, 21 Aug 2018 15:59:28 GMT]]></title><description><![CDATA[<p dir="auto">There is no “wildcard symbol” in the UDL definitions.  And there’s no way to enforce order of matching.</p>
<p dir="auto">I <em>think</em> if you included the <code>/</code> and <code>*</code> in the “Operators 2 (separators required)” rather than in “Operators 1”, it might do what you want – in that it won’t treat them as operators unless they are separated by a space from surrounding text.  Unfortunately, it also means that it would recognize <code>4 / 2</code> but not <code>4/2</code>.  As far as I know, you cannot have it both ways.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/34227</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/34227</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 21 Aug 2018 15:59:28 GMT</pubDate></item></channel></rss>