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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #heritagebuildings

当前筛选 #heritagebuildings清除筛选
URA Singapore

@URASingapore · Post #273 · 18.03.2022 г., 10:00

What does the neighbourhood of Bukit Pasoh have in common with pottery? The area was once known for the trade of distinct earthenware pots, popular with the households living around the area, thus the name Bukit Pasoh was born. Today, Bukit Pasoh is a modern mixed-use area that retains key elements of its past. If you walk along Neil Road, Bukit Pasoh Road, and Keong Saik Road, you’ll be able to spot many conserved clan associations, restaurants and bars that integrate their original shophouse exteriors with modern and chic interiors. Click through the pictures above for some highlights of the area! If you enjoy exploring different neighbourhoods in Singapore, check out our newly launched “Love Local” book, created in partnership with Time Out: go.gov.sg/lovelocalguide. You can also head over to timeout.com/singapore/love-local to see more! #architecture#TexturesoftheCity #heritagebuildings#shophouses

URA Singapore

@URASingapore · Post #1204 · 16.05.2025 г., 09:55

Love exploring Singapore's heritage? We're proposing to conserve these 5 amazing sites in the URA Draft Master Plan 2025. These aren't just buildings - they're chapters of Singapore's incredible journey! 📖 We're looking at how to thoughtfully weave these heritage gems into our future developments, ensuring that they remain as cherished sites that celebrate our shared heritage. 🇸🇬❤️ Drop a ❤️ if you're excited to explore these places in the future! #Conservation#heritagebuildings#builtheritage#singaporehistory#DMP2025