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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #metekel

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

@addisstandardeng · Post #21683 · 11.03.2026 г., 17:02

#Ethiopia: Residents say over 80 houses burned in attack by government security forces in #Metekel Zone Residents told Addis Standard that regional special police and district militias have forcibly displaced residents from several kebeles in #Dibate District, #Metekel Zone of the #Benishangul-Gumuz Region, and burned their homes and property. A resident of Chati Kebele in Dibate District, who requested anonymity for security reasons, said that about a month ago government officials issued an order stating that residents must vacate the area because authorities wanted to “take action against the Oromo Liberation Army (OLA),” which the government refers to as “Shene.” The resident further alleged that about a month after the displacement, Gumuz Special Police and militias from the Bole area of Bulla District conducted what they described as a “search operation.” Another displaced resident from the #Chokorsa area of #Gipo Kebele, a father of six, said it…….. Read more: https://addisstandard.com/?p=55751