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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #puntland

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

@addisstandardeng · Post #21817 · 24.03.2026 г., 11:41

#Op_ed: Architectonics of Trust: #Somalia’s unilateral constitutional amendments, risk of fragmentation In 2012, Somalia adopted a provisional constitution to guide its transition to a federal system, balancing powers between the central government and regional states. Adam Daud Ahmed warns that recent efforts to finalize it through “non-consensual mechanisms” and “executive-led maneuvers” have reignited tensions, with #Puntland and #Jubaland opposing amendments that “bypass broad consultation.” He emphasizes, “A constitution is not a standard statute; it is the social contract,” and that in a federal system, “legitimacy derives from consensus,” not legality alone. Extending mandates under constitutional reform risks “authoritarian drift” and “undermines the social contract.” According to the author, lasting stability requires “trust, dialogue, and consensus,” with leaders prioritizing “the social contract over their own political survival.” https://addisstandard.com/?p=56029

Addis Standard

@addisstandardeng · Post #21749 · 17.03.2026 г., 15:08

Tensions rise between #Somalia federal government, #South_West state over elections, reports Political tensions are escalating in Somalia as disputes between the federal government and regional states intensify ahead of a key electoral deadline in May, according to reports by Horseed Media. The federal government, whose mandate is due to expire on May 15, is facing growing resistance from several states, including #South_West, #Puntland, and #Jubbaland, over proposed electoral reforms and constitutional amendments. The situation has deteriorated sharply in the South West State, where clashes have reportedly erupted in the Bay region. According to the report, armed groups allegedly aligned with the federal government and opposed to South West President Abdiaziz Laftagareen are said to have taken control of Qansaxdheere town, further heightening tensions. https://www.facebook.com/AddisstandardEng/posts/pfbid0VcRDQywdC63u3wbUfdnZHnv5qQboE9HgxA3gmPiqKmWypZWfMEohXaLZNXTL4jD3l