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

TGINSIGHT SIMILAR POSTS

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

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

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

Резултати

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

Пребарај: #positiveparenting

当前筛选 #positiveparenting清除筛选
Social Justice Watch

@social_justice_watch · Post #18121 · 05.07.2023 г., 06:14

There are often subtle signs of dysregulation before a meltdown. Often these behaviours are dismissed as being "hyper" or "attention seeking". If we stay curious and try and attune with our children, we can meet their need before their dysregulation escalates. It isn't easy in a busy life, but if we can pause and look behind the behaviour it can make a huge difference. More information on my website www.thetherapistparent.com #parenting#positiveparenting #curiousparenting#consiousparenting #gentleparenting#children#meltdowns https://www.instagram.com/p/Ctq45SIPcgp/

Social Justice Watch

@social_justice_watch · Post #18128 · 05.07.2023 г., 06:14

When kids have big emotions, we tend to think they are being overly sensitive, that they need more resilience. Most of the time it is because there is a lot happening for the child that we can't see and don't know, that is pushing them beyond their means of coping. Instead we can change the response from they are overreacting, to seeing a child who has a lot happen for them, they are doing the best they can. They need our help not judgement. #parenting#positiveparenting#gentleparenting#resilience#respectfulparenting#psychologist#play#playtherapy#childdevelopment#childtherapy#parentingtips#teachers#asd#family#life#adhd#mumlife#momlife#dads#consciousparenting https://www.instagram.com/p/Ctd93W8vEM9/