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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #hassannasrallah

当前筛选 #hassannasrallah清除筛选
Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3365 · 29.09.2024 г., 13:19

Statement by the President of the Syrian Arab Republic, Dr. Bashar al-Assad To the Lebanese National Resistance To the family of the martyr, #HassanNasrallah My message is not to console you on the martyrdom of the Resistance leader, for over the past decades, you have demonstrated such resilience, strength, determination, and solidarity that no tragedy, no matter how great, could weaken you. You come from a school of struggle that knows only perseverance and steadfastness on the path of truth, no matter how high the cost. Noble and pure blood is only spilled in the pursuit of justice and its causes. The Resistance does not weaken with the martyrdom of its leaders; instead, it remains firmly rooted in the hearts and minds of its people. Great leaders, during their lifetimes, build the doctrine of struggle, chart its course, and establish its path. When they depart, they leave behind a legacy of thought and a practical approach to honor and resistance. They build for that inevitable hour of destiny, which does not come by chance but carries a profound message and consequence, as it transitions them from temporary presence among us to eternal immortality in our collective memory and consciousness, becoming an enduring symbol of resistance for generations to come. The Resistance is both an idea and a principle. The martyr, Hassan Nasrallah, is its memory and its history. He will never be regarded merely as a legend but will remain a path that creates a reality centered on the Resistance, with pride as its essence, dignity as its compass, liberation as its goal, and his name—Hassan Nasrallah—as its guiding light across generations. We are confident that the Lebanese National Resistance will continue on the path of struggle and justice against occupation and will remain the steadfast shoulder supporting the Palestinian people in their just cause. The martyr Nasrallah will always be remembered by the Syrian people for his unwavering stance, leading the Lebanese National Resistance alongside Syria in its battle against the tools of Zionism, despite the burdens he carried in his confrontation. This memory of loyalty will enshrine the name of the martyr, Hassan Nasrallah, forever. September 29, 2024 President Bashar al-Assad

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3700 · 23.11.2024 г., 03:04

The missiles deployed in the Israeli enemy airstrikes on Fathallah street in the heart of the capital #Beirut were advanced bunker-buster (seismic) bombs, highly toxic, generating an enormous blast that resonated as far as Sidon and the surrounding mountain regions. Notably, these are the same type of strikes previously employed in attempts to target #Hezbollah Secretary-General Sayyed #HassanNasrallah and Sayyed #HashemSafieddine. سترك يا رب.