
{"id":7192,"date":"2012-05-09T13:21:03","date_gmt":"2012-05-09T13:21:03","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7192"},"modified":"2012-05-09T13:21:03","modified_gmt":"2012-05-09T13:21:03","slug":"grep-quantifiers-regular-expressions","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/05\/09\/grep-quantifiers-regular-expressions\/","title":{"rendered":"grep . quantifiers.  regular expressions."},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$ 4.2.20 10 510---&gt; cat worked\nBubble sort\nSelection sort\nInsertion sort\nShell sort\nComb sort\nMerge sort\nHeapsort\nQuicksort\nCounting sort\n Bucket sort\n Radix sort\n Distribution sort\n Timsort\n$ 4.2.20 11 511---&gt; cat worked | grep -E ?sort\nBubble sort\nSelection sort\nInsertion sort\nShell sort\nComb sort\nMerge sort\nHeapsort\nQuicksort\nCounting sort\n Bucket sort\n Radix sort\n Distribution sort\n Timsort\n$ 4.2.20 12 512---&gt; cat worked | grep  ?sort\n$ 4.2.20 13 513---&gt;\n\n$ 4.2.20 17 517---&gt; echo \"(555) 123-4567\" | grep -E '^(?[0-9][0-9][0-9])? [0-9]\n[0-9][0-9]$'\n(555) 123-4567\n$ 4.2.20 18 518---&gt; echo \"(555) 123-4567\" | grep -E '^([0-9][0-9][0-9])? [0-9]\n[0-9][0-9]$'\n(555) 123-4567\n$ 4.2.20 19 519---&gt; echo \"(555) 123-4567\" | grep -E '^([0-9][0-9][0-9]) [0-9]\n[0-9][0-9]$'\n(555) 123-4567\n$ 4.2.20 20 520---&gt;\n\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.20 10 510&#8212;&gt; cat worked Bubble sort Selection sort Insertion sort Shell sort Comb sort Merge sort Heapsort Quicksort Counting sort Bucket sort Radix sort Distribution sort Timsort $ 4.2.20 11 511&#8212;&gt; cat worked | grep -E ?sort Bubble sort Selection sort Insertion sort Shell sort Comb sort Merge sort Heapsort Quicksort &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/05\/09\/grep-quantifiers-regular-expressions\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;grep . quantifiers.  regular expressions.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7192"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=7192"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7192\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}