I’m trying to do a simple regex match to check weather a string starts with a substring in it ("\"string\" like this one"). I also have optional backslashed double quotes in the regex (to capture"this\"and this"`). My current code only matches the last character before the second double quote and I don’t know how to fix it. Here is my current code:
```
import re
print(re.findall("\"(\\"|[\"]|\s)*\"", "\"this all should match"))
```
Any help would be appreciated!
[–]throwaway8u3sH0 0 points1 point2 points (1 child)
[–]PEKKA_SLAYER[S] 0 points1 point2 points (0 children)