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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #shippingplans

当前筛选 #shippingplans清除筛选
Crypto M - Crypto News

@CryptoM · Post #64870 · 10.04.2026 г., 05:54

🚀 Middle Eastern Oil Producers Prepare for Potential Hormuz Strait Reopening Middle Eastern oil producers have requested Asian refiners to submit shipping plans for April and May, in anticipation of the potential reopening of the Hormuz Strait. According to Odaily, there is currently no indication that Tehran is lifting its near-total blockade of this crucial waterway, which has previously caused a sharp increase in energy prices. However, a recently announced two-week ceasefire agreement between the U.S. and Iran has sparked hopes for the strait's reopening. Two sources revealed that Saudi Aramco, the world's largest exporter, has asked its clients to submit applications for May shipments from the ports of Yanbu and Ras Tanura. One source noted that this would depend on the resumption of exports from the eastern port of Ras Tanura, which requires vessels to pass through the Hormuz Strait. #MiddleEast#OilProducers#HormuzStrait#ShippingPlans#Ceasefire#Iran#EnergyPrices#SaudiAramco#Yanbu#RasTanura#Exports#OilTrade