python regex match single quote in names code example
Example: python regex inside quotes
"(?:\\.|[^"\\])*"
" # Match a quote.
(?: # Either match...
\\. # an escaped character
| # or
[^"\\] # any character except quote or backslash.
)* # Repeat any number of times.
" # Match another quote.