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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #abaya

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

@addisstandardeng · Post #21705 · 13.03.2026 г., 12:56

News Analysis: Landslides in #south_Ethiopia expose disaster preparedness gaps as death toll climbs The death toll from devastating landslides and flash floods triggered by heavy seasonal rains in #Ethiopia’s South Ethiopia Regional State has climbed to 107, according to local authorities, as rescue operations transition into recovery efforts amid warnings of an escalating humanitarian crisis. The disaster struck several kebeles across #Gacho_Baba, #Bonke, #Kamba_Zuria, and West #Abaya woredas in #Gamo_Zone, on the early morning of 11 March, destroying homes, farmland, and infrastructure, and displacing thousands. The Ethiopian Human Rights Commission (#EHRC) said today that it has been closely monitoring the aftermath of the catastrophe, describing the situation as severe and calling for an urgent coordinated response from authorities and humanitarian actors. The Commission confirmed widespread loss of life and displacement. Read more: https://addisstandard.com/?p=55835