python not all characters was inverted in string code example
Example 1: how to reverse a string in python
# in order to make a string reversed in python
# you have to use the slicing as following
string = "racecar"
print(string[::-1])
Example 2: 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.