projetmbc

France

2d
comment Odd or even number of backslashes and escaped character
Cool ! But what about pattern = re.compile(r"(?<!\\)((?:\\\\)*)@") ?
2d
accepted Odd or even number of backslashes and escaped character
2d
comment Linux webserver sandbox for Python
Thanks, this is becoming clearer.
2d
revised Odd or even number of backslashes and escaped character
edited title
2d
comment Linux webserver sandbox for Python
Sorry for my misunderstanding but how I can do to attach a working directory specifically to a user that will use my website.
2d
comment Odd or even number of backslashes and escaped character
I have updated my question that says fisrst, but I was not very clear, that the @ is escaped only when there is an odd number of \ before it.
2d
revised Odd or even number of backslashes and escaped character
edited title
2d
comment Odd or even number of backslashes and escaped character
Indeed, the output changes regarding if there is an even or odd number of backslashes.
2d
revised Linux webserver sandbox for Python
added 3 characters in body
2d
comment Odd or even number of backslashes and escaped character
@KarolyHorvath I have updated my question.
2d
revised Odd or even number of backslashes and escaped character
added 352 characters in body
2d
revised Odd or even number of backslashes and escaped character
added 93 characters in body
2d
asked Linux webserver sandbox for Python
2d
revised Odd or even number of backslashes and escaped character
edited title
2d
asked Odd or even number of backslashes and escaped character
2d
comment Finding single escaped characters
Thanks. The 1st method does not work for me contrary to the 2nd one. The 1st method gives with Python3 the message : sre_constants.error: look-behind requires fixed-width pattern.
2d
accepted Finding single escaped characters
2d
revised Finding single escaped characters
deleted 56 characters in body
2d
asked Finding single escaped characters
May
22
comment Delta words between two TXT files
Thanks a lot for the different methods. Maybe the 2nd one should be the most efficient in practice. The idea was to see that difflib iterates on something. Thats is a thing that I have just understood with your example.
1 2 3 4 5