Replies: 1 comment
-
I was looking for this too, I tried
So I've ended up with
which is long and not quite right because it excludes ConcatenatedString. Surely there's an easier way? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There are various ways to specify quotes in python like "x", 'x', '''x''', """x""". Since
SimpleString.evalueted_value
is a runtime method, it seems the only way to match against all possible ways for user to specify a string ism.SimpleString("'x'") | m.SimpleString('"x"') | m.SimpleString("'''x'''") | m.SimpleString('"""x"""')
?Beta Was this translation helpful? Give feedback.
All reactions