<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>book-notes on Jaaved Ali Khan</title><link>https://jaaved.netlify.app/tags/book-notes/</link><description>Recent content in book-notes on Jaaved Ali Khan</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 10 Jul 2023 14:21:03 +0400</lastBuildDate><atom:link href="https://jaaved.netlify.app/tags/book-notes/index.xml" rel="self" type="application/rss+xml"/><item><title>Python for DevOps - Noah Gift</title><link>https://jaaved.netlify.app/notes/python-for-devops-noah-gift/</link><pubDate>Mon, 10 Jul 2023 14:21:03 +0400</pubDate><guid>https://jaaved.netlify.app/notes/python-for-devops-noah-gift/</guid><description>Python for DevOps - Noah Gift # TOC # Regular Expression # import re cc_list = &amp;#39;&amp;#39;&amp;#39;Ezra Koenig &amp;lt;ekoenig@vpwk.com&amp;gt;, Rostam Batmanglij &amp;lt;rostam@vpwk.com&amp;gt;, Chris Tomson &amp;lt;ctomson@vpwk. Bobbi Baio &amp;lt;bbaio@vpwk.com&amp;#39;&amp;#39;&amp;#39; r = re.search(&amp;#39;[RB]obb[yi]&amp;#39;, &amp;#39;robbi&amp;#39;) print(r) r = re.search(&amp;#39;Chr[a-z][a-z]&amp;#39;, cc_list) print(r.group()) # search vs findall r = re.search(r&amp;#39;[A-Za-z]+&amp;#39;, cc_list) # returns first match print(r.group()) r = re.findall(r&amp;#39;[A-Za-z]+&amp;#39;, cc_list) print(r) r = re.search(r&amp;#39;\w+\@\w+\.\w+&amp;#39;, cc_list) print(r.group()) r = re.findall(r&amp;#39;\w+\@\w+\.\w+&amp;#39;, cc_list) print(r) # groups r = re.</description></item><item><title>99 Bottles of Beer</title><link>https://jaaved.netlify.app/notes/99bottles_beer_js/</link><pubDate>Mon, 10 Jul 2023 14:21:02 +0400</pubDate><guid>https://jaaved.netlify.app/notes/99bottles_beer_js/</guid><description>99bottles_beer_js # Introduction # Another note
99bottles_beer_js # Good point # In the present case, it’s a slight stretch to call the quantity and container pairing above a Data Clump, but the value of removing clumps is so great that it makes sense to view this code through that lens. If these two things always appear together, it’s a signal that this pairing represents a deeper concept, and that concept should be named.</description></item></channel></rss>