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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #selama

当前筛选 #selama清除筛选
Addis Standard

@addisstandardeng · Post #21320 · 05.02.2026 г., 13:10

News: #Tigray institutions renew calls for dialogue, reconciliation amid continued internal clashes Religious and civic institutions in Tigray have renewed calls for dialogue and an end to internal fighting, urging combatants to halt hostilities and pursue reconciliation as clashes continue in parts of the region, despite recent signs of de-escalation in the #south. The Synod of the #Selama Tigray Orthodox Tewahedo Church, following an emergency meeting, said that “the mutual destruction occurring between brothers must stop,” and announced plans to actively engage in efforts to end the killings. In a statement shared with journalists, the Synod said that as people in Tigray face one of the gravest crises in recent history, it is seeking to foster understanding and reconciliation to bring an end to internal violence. Similarly, Tigray #Public_Diplomacy issued an emergency statement titled “Stop the War: Let Us Return to Dialogue,” recalling an earlier... Read more: https://addisstandard.com/?p=55017