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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #udonnoodles

当前筛选 #udonnoodles清除筛选
Dishes.Cooking.Food

@cookingdish · Post #784 · 25.03.2025 г., 14:05

🌿Udon Noodle Bowl 🍜 Ingredients • 🫒 Oil for frying • 100 g smoked tofu 🧆 • 1/2 tsp chili 🌶 • 1/2 tsp thyme 🌱 • 1/2 tsp coriander 🌿 • 2 tbsp soy sauce 🍶 • 100 g mushrooms 🍄 • 2 cloves garlic 🧄 • 300 g udon noodles (pre-cooked) 🍜 Sauce: • 1 tbsp paprika paste 🌶 • 2 tbsp agave syrup 🍯 • 5 tbsp soy sauce 🍶 • 200 ml water 💧 • 1 tbsp starch 🌽 • 1 tbsp white sesame 🥢 Side dishes for the bowl: • 1 bok choy 🥬 • Red cabbage 🥬 • Cucumber 🥒 • Avocado 🥑 • Lime 🍈 • Spring onions 🧅 • Sesame seeds 🌱 • Paprika 🌶 Preparation: 1. 🔥 Fry the smoked tofu in oil, deglaze with soy sauce, season & set aside. 2. 🥄 Mix all the ingredients for the sauce together. 3. 🍄 Sear the mushrooms and garlic, deglaze with the sauce, and stir in the udon noodles. 4. 🍲 Fill the bowl with the udon noodles, tofu, and all the remaining ingredients. #VeganRecipe🌱#UdonNoodles🍜#HealthyEats💚#AsianCuisine🍲#PlantBased @dishes

Dishes.Cooking.Food

@cookingdish · Post #580 · 14.11.2024 г., 14:39

🌿Udon Noodle Bowl 🍜 Ingredients • 🫒 Oil for frying • 100 g smoked tofu 🧆 • 1/2 tsp chili 🌶️ • 1/2 tsp thyme 🌱 • 1/2 tsp coriander 🌿 • 2 tbsp soy sauce 🍶 • 100 g mushrooms 🍄 • 2 cloves garlic 🧄 • 300 g udon noodles (pre-cooked) 🍜 Sauce: • 1 tbsp paprika paste 🌶️ • 2 tbsp agave syrup 🍯 • 5 tbsp soy sauce 🍶 • 200 ml water 💧 • 1 tbsp starch 🌽 • 1 tbsp white sesame 🥢 Side dishes for the bowl: • 1 bok choy 🥬 • Red cabbage 🥬 • Cucumber 🥒 • Avocado 🥑 • Lime 🍈 • Spring onions 🧅 • Sesame seeds 🌱 • Paprika 🌶️ Preparation: 1. 🔥 Fry the smoked tofu in oil, deglaze with soy sauce, season & set aside. 2. 🥄 Mix all the ingredients for the sauce together. 3. 🍄 Sear the mushrooms and garlic, deglaze with the sauce, and stir in the udon noodles. 4. 🍲 Fill the bowl with the udon noodles, tofu, and all the remaining ingredients. #VeganRecipe🌱#UdonNoodles🍜#HealthyEats💚#AsianCuisine🍲#PlantBased @dishes