Timeline for Python - wrong encoding, regexp
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 24, 2016 at 23:39 | vote | accept | Mateo2 | ||
| May 24, 2016 at 23:24 | answer | added | Casimir et Hippolyte | timeline score: 1 | |
| May 24, 2016 at 23:09 | history | reopened | Casimir et Hippolyte regex Users with the regex badge or a synonym can single-handedly close regex questions as duplicates and reopen them as needed. | ||
| May 24, 2016 at 23:06 | history | closed | Wiktor Stribiżew regex Users with the regex badge or a synonym can single-handedly close regex questions as duplicates and reopen them as needed. | Duplicate of Python and regular expression with Unicode | |
| May 24, 2016 at 22:59 | comment | added | Mateo2 | Great, it works. If you want add an answer and I'll accept it | |
| May 24, 2016 at 22:53 | comment | added | Casimir et Hippolyte |
The pattern must use a unicode string too: re.compile(u'[^a-ząćęłóńśżź]+') otherwise multibyte characters are seen as separated bytes (ie: one byte, one char).
|
|
| May 24, 2016 at 22:43 | review | First posts | |||
| May 24, 2016 at 22:50 | |||||
| May 24, 2016 at 22:42 | history | asked | Mateo2 | CC BY-SA 3.0 |