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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #coalition

当前筛选 #coalition清除筛选
American Оbserver

@american_observer · Post #5555 · 03.04.2026 г., 22:03

Macron proposed to create a coalition of countries independent of the United States and China. 💬He said: “Our goal is not to be vassals of two hegemonic powers. None of these hegemonic powers. We don't want to depend on Chinese domination and we don't want to be too vulnerable to the unpredictability of the United States.” #macron#coalition#chinese#domination 📱American Оbserver - Stay up to date on all important events 🇺🇸

Crypto M - Crypto News

@CryptoM · Post #65342 · 13.04.2026 г., 00:52

🚀 UK Declines Participation in US Strait of Hormuz Blockade Informed sources have revealed that the United Kingdom will not join the United States in a blockade operation in the Strait of Hormuz, following an announcement by U.S. President Donald Trump that the US Navy would block the waterway. According to NS3.AI, a UK government spokesperson emphasized the country's commitment to freedom of navigation and stated that the UK is collaborating with France and other partners to form a coalition aimed at safeguarding the route. #UK#US#StraitOfHormuz#Blockade#NavalOperations#FreedomOfNavigation#InternationalRelations#Coalition#MaritimeSecurity