{"id":542,"date":"2020-09-29T10:05:46","date_gmt":"2020-09-29T10:05:46","guid":{"rendered":"https:\/\/www.unordnung.net\/?p=542"},"modified":"2020-09-29T10:05:46","modified_gmt":"2020-09-29T10:05:46","slug":"sed-dislikes-d-w-regex-syntax","status":"publish","type":"post","link":"https:\/\/unordnung.net\/misc\/2020\/09\/sed-dislikes-d-w-regex-syntax\/","title":{"rendered":"sed dislikes \\d \\w regex syntax"},"content":{"rendered":"\n<p>Reminder to not use \\d, \\w and such regex tokens when using regex with the linux streamline editor sed. Use [0-9] and [a-z] instead. Made me ask my first question on stackoverflow and getting downvoted for it \ud83d\ude1b<\/p>\n\n\n<p><a href=\"https:\/\/regex101.com\">https:\/\/regex101.com<\/a> btw&#8230; when dealing with regular expressions, a handy tool. would be nice to have a sed syntax checker included though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reminder to not use \\d, \\w and such regex tokens when using regex with the linux streamline editor sed. Use [0-9] and [a-z] instead. Made me ask my first question on stackoverflow and getting downvoted for it \ud83d\ude1b https:\/\/regex101.com btw&#8230; when dealing with regular expressions, a handy tool. would be nice to have a sed &#8230; <a title=\"sed dislikes \\d \\w regex syntax\" class=\"read-more\" href=\"https:\/\/unordnung.net\/misc\/2020\/09\/sed-dislikes-d-w-regex-syntax\/\">Read more<span class=\"screen-reader-text\">sed dislikes \\d \\w regex syntax<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[46,60,65],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-to_remember","tag-linux","tag-regex","tag-sed"],"_links":{"self":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":0,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"wp:attachment":[{"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unordnung.net\/misc\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}