We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2dea0b4 + 76d1fba commit caf0bfeCopy full SHA for caf0bfe
python/ql/test/library-tests/exprs/strings/Strings.expected
@@ -0,0 +1,4 @@
1
+| test.py:3:1:3:33 | test.py:3 | u' | [\ufffd-\ufffd][\ufffd-\ufffd] |
2
+| test.py:5:1:5:26 | test.py:5 | u' | [\ufffd-\ufffd] |
3
+| test.py:8:1:8:20 | test.py:8 | u' | {}\r{}{:<{width}} |
4
+| test.py:9:1:9:15 | test.py:9 | u' | {}\r{}{:<{}} |
python/ql/test/library-tests/exprs/strings/Strings.ql
@@ -0,0 +1,5 @@
+
+import python
+from StrConst s
5
+select s.getLocation(), s.getPrefix(), s.getText()
python/ql/test/library-tests/exprs/strings/test.py
@@ -0,0 +1,9 @@
+#Half Surrogate pairs
+u'[\uD800-\uDBFF][\uDC00-\uDFFF]'
+#Outside BMP
+u'[\U00010000-\U0010ffff]'
6
7
+#Troublesome format strings
8
+u'{}\r{}{:<{width}}'
9
+u'{}\r{}{:<{}}'
0 commit comments