TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #72 · 21 апр.

Регулярные выражения иногда могут быть просто монструозными. Выглядеть это может крайне запутанно. Сами регэкспы и без того история непростая, а когда это длинный паттерн на несколько десятков знаков, разобрать там что-либо становится не просто. Но на помощь приходит Python и его стремление сделать нашу жизнь проще! В функциях регулярок можно после паттерна указывать флаги, один из которых позволяет писать паттерны более свободно. А именно, добавлять пробелы и переносы, которые будут игнорированы. В результате мы можем разбить паттерн на строки и добавить комментов. Чтобы это сработало нужно добавить флаг re.VERBOSE. Пробелы в паттерне теперь следует указывать явно спец символами. Согласитесь, что даже с именованными группами а таком виде регэкспа выглядит вполне сносно 😉. #tricks#regex

Резултати

Пронајдени 3 слични објави

Пребарај: #jinpooh

当前筛选 #jinpooh清除筛选
Telegraher

@Telegraher · Post #519 · 26.07.2022 г., 20:55

Folks, some handy tips: • read comments before commenting • vanilla tg OR our fork also have "translate" button If you commenting w/o reading the discussion.. Well, go on reddit 😁 More details: post about Nekogram picked up from NekoX chat. Moar details: • Nekogram is a bitch who ban you for political reasons and opinions like 1989 #JinPooh#freetibet#西藏独立运动#西藏独立 . • NekoX can be a bitchie and ban you when you critic Durov or TG TOS but they always unban you, while i'm still banned in Nekogram chat (i was banned twice in both and forever in Nekogram). My political messages are still in NekoX chat 😎

Telegraher

@Telegraher · Post #516 · 23.07.2022 г., 08:55

Hallo folks, fond this stuff in NekoX chat: https://github.com/NekogramX/Nekogram - link is fuckedup by github probably (upd). Fake it or not?.. Well, nekogram assholes are banned me also for politic content: 1989 #JinPooh#freetibet#西藏独立运动#西藏独立 Here https://t.me/telegraher/74 And here https://t.me/telegraher/95 https://t.me/telegraher/97 Ban + wipe any forbidden in china content. Text translated by chinese guy from nekox chat, original messages are in our chat. P.S. NekoX are bitchies also, but a much less, they're just for TG's TOS & Durov, not the chinese Gov, thats important différence. FREETIBET !