<?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[T-SQL highlighting problem: backslash is not an escape character here]]></title><description><![CDATA[<p dir="auto">The backslash at the end of the 9th line in the string breaks highlighting:<br />
<img src="/assets/uploads/files/1699983562365-d738221f-f4f8-4ebf-9b34-7ed1679ea67c-k%C3%A9p.png" alt="d738221f-f4f8-4ebf-9b34-7ed1679ea67c-kép.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Removing the backslash the highlighting gets good, but the script turns to be wrong:</p>
<p dir="auto"><img src="/assets/uploads/files/1699983670813-7da9bb06-18ee-4516-9853-32187ab2f105-k%C3%A9p.png" alt="7da9bb06-18ee-4516-9853-32187ab2f105-kép.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Can it be fixed? Should I try to edit the <strong>langs.xml</strong> file?</p>
<p dir="auto">Best regards,<br />
Peter</p>
<p dir="auto">Notepad++ v8.5.8   (64-bit)<br />
Build time : Oct 15 2023 - 21:43:56<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Command Line :<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
Cloud Config : OFF<br />
OS Name : Windows 10 Pro (64-bit)<br />
OS Version : 22H2<br />
OS Build : 19045.3570<br />
Current ANSI codepage : 1250<br />
Plugins :<br />
AutoCodepage (1.2.6)<br />
FWDataViz (2.6.2)<br />
JsonTools (5.6)<br />
MarkdownViewerPlusPlus (0.8.2)<br />
mimeTools (2.9)<br />
NppConverter (4.5)<br />
nppcrypt (1.0.1.6)<br />
NppExport (0.4)<br />
RestApiToText (1.4.0.1)<br />
urlPlugin (1.2)<br />
XMLTools (3.1.1.13)<br />
_CustomizeToolbar (5.3)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25132/t-sql-highlighting-problem-backslash-is-not-an-escape-character-here</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 12:25:15 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25132.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Nov 2023 17:45:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to T-SQL highlighting problem: backslash is not an escape character here on Wed, 15 Nov 2023 02:24:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24330">@PeterAdam</a></p>
<p dir="auto">The styling looks like the <code>SQL</code> lexer (<em>for SQLite3,…</em>) which is not the correct lexer for T-SQL. The <em>@variables</em> are not colored as they should. Problems with escapes…</p>
<p dir="auto">From the Language menu, select the <code>Microsoft Transact-SQL</code> lexer and you may see</p>
<p dir="auto"><img src="/assets/uploads/files/1700007046132-t-sql.png" alt="t-sql.png" class=" img-fluid img-markdown" /></p>
<blockquote>
<p dir="auto">Should I try to edit the langs.xml file?</p>
</blockquote>
<p dir="auto">The langs.xml file in <code>%AppData%\Notepad++</code> may need updating if <code>Microsoft Transact-SQL</code> is not in the menu. Compare it with <code>langs.model.xml</code> that is in <code>%ProgramFiles%\Notepad++</code> .</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90482</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90482</guid><dc:creator><![CDATA[mpheath]]></dc:creator><pubDate>Wed, 15 Nov 2023 02:24:55 GMT</pubDate></item><item><title><![CDATA[Reply to T-SQL highlighting problem: backslash is not an escape character here on Tue, 14 Nov 2023 18:01:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24330">@PeterAdam</a></p>
<p dir="auto"><img src="/assets/uploads/files/1699984895900-08bb2c58-77d5-46e7-b4e5-4db39150fcce-image.png" alt="08bb2c58-77d5-46e7-b4e5-4db39150fcce-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/90479</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90479</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 14 Nov 2023 18:01:37 GMT</pubDate></item></channel></rss>