<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>invalid escape sequence \s</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107828/invalid-escape-sequence-s</link><description>Greetings all. I am troubleshooting an issue on my BLE sniffer setup. While I don&amp;#39;t &amp;#39;think&amp;#39; this is causing my actual current failure (Wireshark not detecting COM6) I wanted to verify, if possible, that my &amp;#39;fix&amp;#39; isn&amp;#39;t causing more issues or just flat</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jun 2024 12:11:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107828/invalid-escape-sequence-s" /><item><title>RE: invalid escape sequence \s</title><link>https://devzone.nordicsemi.com/thread/487308?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2024 12:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:382f76a6-5bfb-4c41-a311-759087255026</guid><dc:creator>rayleigh165</dc:creator><description>&lt;p&gt;You can edit the .py file in the folder, search for \s and add a r just before the double quotes. For example, one of the lines was&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; m = re.search(&amp;quot;^\s*rssi\s*(&amp;gt;=?)\s*(-?[0-9]+)\s*$&amp;quot;, capture_filter, re.IGNORECASE)&lt;/p&gt;
&lt;p&gt;And I turned it to:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; m = re.search(r&amp;quot;^\s*rssi\s*(&amp;gt;=?)\s*(-?[0-9]+)\s*$&amp;quot;, capture_filter, re.IGNORECASE)&lt;/p&gt;
&lt;p&gt;Notice the r between the open parenthesis and the double quotes.&lt;/p&gt;
&lt;p&gt;I had to edit two such lines. It works now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: invalid escape sequence \s</title><link>https://devzone.nordicsemi.com/thread/466941?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 13:09:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8f8551a-a7f3-45ce-ae7b-12ad641c6ffc</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Project Help Desk"]On a side note, my original changes also resolved my errors and I was able to connect to my com port and pull traces without issue.[/quote]
&lt;p&gt;Thanks for reporting this back to us. I&amp;#39;ll report this back internally!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: invalid escape sequence \s</title><link>https://devzone.nordicsemi.com/thread/466850?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 23:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:697331ee-b5fd-4ea1-bed9-8f6471066b93</guid><dc:creator>Project Help Desk</dc:creator><description>&lt;p&gt;That did resolve the issue of syntax errors. On a side note, my original changes also resolved my errors and I was able to connect to my com port and pull traces without issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: invalid escape sequence \s</title><link>https://devzone.nordicsemi.com/thread/466541?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 13:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce2ed01-9a48-464e-95ba-bfe274531142</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to downgrade python to v3.11.x?&lt;/p&gt;
&lt;p&gt;We have not yet updated the ble sniffer for v3.12.x compatibility.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: invalid escape sequence \s</title><link>https://devzone.nordicsemi.com/thread/466343?ContentTypeID=1</link><pubDate>Sat, 27 Jan 2024 22:50:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e7e48f-d0f6-4e93-8f12-d68f5cc6fc55</guid><dc:creator>Project Help Desk</dc:creator><description>&lt;p&gt;Making the above changes, resolved my Syntax Errors, and now I just get the Wireshark COM Error. The COM error was present before and after my changes. But my changes resolved the syntax error. I am mainly verifying that my fix is valid and not causing issues before I continue to troubleshoot my original error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>