{"id":1929,"date":"2016-02-28T10:22:48","date_gmt":"2016-02-28T15:22:48","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=1929"},"modified":"2016-02-28T10:58:21","modified_gmt":"2016-02-28T15:58:21","slug":"reliable-c-regular-expressions-in-10-minutes","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/","title":{"rendered":"Reliable C++ regular expressions in 10 minutes"},"content":{"rendered":"<p>I gave myself an hour to add multi-line search-and-replace support in my code. \u00a0It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. \u00a0The syntax can be annoying (for example, using double escape), so for reference, here&#8217;s a jumpstart.<\/p>\n<p>Given:<\/p>\n<pre><code>using namespace std;\r\nstring str = \"Lots of text to search\\nacross lines\";\r\nstring from = \"text[\\\\s\\\\S]*lines\";\r\nstring to = \"rainbows\";<\/code><\/pre>\n<p>Boost happily did the job:<\/p>\n<pre><code>#include <boost\/regex.hpp>\r\n boost::regex reg;\r\n reg.assign(from);\r\n str = boost::regex_replace(str,reg,to,boost::match_default);<\/code><\/pre>\n<p>C++11 is even simpler, but <strong>it crashes with gcc 4.9.2 if you use the same string for source and target<\/strong>, like this:<\/p>\n<pre><code>#include <regex>\r\n std::regex reg(from);\r\n str = std::regex_replace(str,reg,to);<\/code><\/pre>\n<p>You can fix that by using a swap string:<\/p>\n<pre><code>#include <regex>\r\n regex reg(from);\r\n string newstr = regex_replace(str,reg,to);\r\n str = newstr;<\/code><\/pre>\n<p>But it isn&#8217;t\u00a0working across lines, with this particular syntax, and I&#8217;ve seen others complain that they couldn&#8217;t get multiline\u00a0syntax going. \u00a0I&#8217;ll stick with boost for now until this smooths out a little bit more. \u00a0Onwards.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I gave myself an hour to add multi-line search-and-replace support in my code. \u00a0It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. \u00a0The syntax can be annoying (for example, using double escape), so for reference, here&#8217;s a jumpstart. Given: using namespace std; string str = &#8220;Lots of text to search\\nacross [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[204,22,19],"tags":[190,55],"class_list":["post-1929","post","type-post","status-publish","format-standard","hentry","category-a-better-trader","category-cpp","category-opensource","tag-c11","tag-regex"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here&#039;s a jumpstart. Given: using namespace std; string str = &quot;Lots of text to search\\nacross\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"m\"\/>\n\t<meta name=\"keywords\" content=\"a better trader,c++,open source\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"bitpost.com\/news | Note to self\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Reliable C++ regular expressions in 10 minutes | bitpost.com\/news\" \/>\n\t\t<meta property=\"og:description\" content=\"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here&#039;s a jumpstart. Given: using namespace std; string str = &quot;Lots of text to search\\nacross\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-02-28T15:22:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-02-28T15:58:21+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Reliable C++ regular expressions in 10 minutes | bitpost.com\/news\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here&#039;s a jumpstart. Given: using namespace std; string str = &quot;Lots of text to search\\nacross\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#article\",\"name\":\"Reliable C++ regular expressions in 10 minutes | bitpost.com\\\/news\",\"headline\":\"Reliable C++ regular expressions in 10 minutes\",\"author\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg\",\"width\":96,\"height\":96,\"caption\":\"m\"},\"datePublished\":\"2016-02-28T10:22:48-05:00\",\"dateModified\":\"2016-02-28T10:58:21-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#webpage\"},\"articleSection\":\"A better Trader, C++, Open Source, C++11, regex\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bitpost.com\\\/news\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/#listItem\",\"name\":\"Projects\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/#listItem\",\"position\":2,\"name\":\"Projects\",\"item\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/opensource\\\/#listItem\",\"name\":\"Open Source\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/opensource\\\/#listItem\",\"position\":3,\"name\":\"Open Source\",\"item\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/opensource\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#listItem\",\"name\":\"Reliable C++ regular expressions in 10 minutes\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/#listItem\",\"name\":\"Projects\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#listItem\",\"position\":4,\"name\":\"Reliable C++ regular expressions in 10 minutes\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/category\\\/projects\\\/opensource\\\/#listItem\",\"name\":\"Open Source\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#person\",\"name\":\"m\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg\",\"width\":96,\"height\":96,\"caption\":\"m\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\",\"url\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/\",\"name\":\"m\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg\",\"width\":96,\"height\":96,\"caption\":\"m\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#webpage\",\"url\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/\",\"name\":\"Reliable C++ regular expressions in 10 minutes | bitpost.com\\\/news\",\"description\":\"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here's a jumpstart. Given: using namespace std; string str = \\\"Lots of text to search\\\\nacross\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/2016\\\/reliable-c-regular-expressions-in-10-minutes\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/author\\\/m\\\/#author\"},\"datePublished\":\"2016-02-28T10:22:48-05:00\",\"dateModified\":\"2016-02-28T10:58:21-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/bitpost.com\\\/news\\\/\",\"name\":\"bitpost.com\\\/news\",\"description\":\"Note to self\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/bitpost.com\\\/news\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Reliable C++ regular expressions in 10 minutes | bitpost.com\/news","description":"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here's a jumpstart. Given: using namespace std; string str = \"Lots of text to search\\nacross","canonical_url":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/","robots":"max-image-preview:large","keywords":"a better trader,c++,open source","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#article","name":"Reliable C++ regular expressions in 10 minutes | bitpost.com\/news","headline":"Reliable C++ regular expressions in 10 minutes","author":{"@id":"https:\/\/bitpost.com\/news\/author\/m\/#author"},"publisher":{"@id":"https:\/\/bitpost.com\/news\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg","width":96,"height":96,"caption":"m"},"datePublished":"2016-02-28T10:22:48-05:00","dateModified":"2016-02-28T10:58:21-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#webpage"},"isPartOf":{"@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#webpage"},"articleSection":"A better Trader, C++, Open Source, C++11, regex"},{"@type":"BreadcrumbList","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news#listItem","position":1,"name":"Home","item":"https:\/\/bitpost.com\/news","nextItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/projects\/#listItem","name":"Projects"}},{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/projects\/#listItem","position":2,"name":"Projects","item":"https:\/\/bitpost.com\/news\/category\/projects\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/projects\/opensource\/#listItem","name":"Open Source"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/projects\/opensource\/#listItem","position":3,"name":"Open Source","item":"https:\/\/bitpost.com\/news\/category\/projects\/opensource\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#listItem","name":"Reliable C++ regular expressions in 10 minutes"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/projects\/#listItem","name":"Projects"}},{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#listItem","position":4,"name":"Reliable C++ regular expressions in 10 minutes","previousItem":{"@type":"ListItem","@id":"https:\/\/bitpost.com\/news\/category\/projects\/opensource\/#listItem","name":"Open Source"}}]},{"@type":"Person","@id":"https:\/\/bitpost.com\/news\/#person","name":"m","image":{"@type":"ImageObject","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg","width":96,"height":96,"caption":"m"}},{"@type":"Person","@id":"https:\/\/bitpost.com\/news\/author\/m\/#author","url":"https:\/\/bitpost.com\/news\/author\/m\/","name":"m","image":{"@type":"ImageObject","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/884c1dbbf1027f261dbf20652687af7ad0030bfa71ff0ef56540938bdc70be2f?s=96&d=monsterid&r=pg","width":96,"height":96,"caption":"m"}},{"@type":"WebPage","@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#webpage","url":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/","name":"Reliable C++ regular expressions in 10 minutes | bitpost.com\/news","description":"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here's a jumpstart. Given: using namespace std; string str = \"Lots of text to search\\nacross","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/bitpost.com\/news\/#website"},"breadcrumb":{"@id":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/#breadcrumblist"},"author":{"@id":"https:\/\/bitpost.com\/news\/author\/m\/#author"},"creator":{"@id":"https:\/\/bitpost.com\/news\/author\/m\/#author"},"datePublished":"2016-02-28T10:22:48-05:00","dateModified":"2016-02-28T10:58:21-05:00"},{"@type":"WebSite","@id":"https:\/\/bitpost.com\/news\/#website","url":"https:\/\/bitpost.com\/news\/","name":"bitpost.com\/news","description":"Note to self","inLanguage":"en-US","publisher":{"@id":"https:\/\/bitpost.com\/news\/#person"}}]},"og:locale":"en_US","og:site_name":"bitpost.com\/news | Note to self","og:type":"article","og:title":"Reliable C++ regular expressions in 10 minutes | bitpost.com\/news","og:description":"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here's a jumpstart. Given: using namespace std; string str = &quot;Lots of text to search\\nacross","og:url":"https:\/\/bitpost.com\/news\/2016\/reliable-c-regular-expressions-in-10-minutes\/","article:published_time":"2016-02-28T15:22:48+00:00","article:modified_time":"2016-02-28T15:58:21+00:00","twitter:card":"summary","twitter:title":"Reliable C++ regular expressions in 10 minutes | bitpost.com\/news","twitter:description":"I gave myself an hour to add multi-line search-and-replace support in my code. It took 3, and C++11 std::regex_replace() gave me a hard crash with inline replacement. The syntax can be annoying (for example, using double escape), so for reference, here's a jumpstart. Given: using namespace std; string str = &quot;Lots of text to search\\nacross"},"aioseo_meta_data":{"post_id":"1929","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-13 19:46:53","updated":"2025-08-17 19:14:18","seo_analyzer_scan_date":null},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-v7","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/1929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=1929"}],"version-history":[{"count":8,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/1929\/revisions"}],"predecessor-version":[{"id":1937,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/1929\/revisions\/1937"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=1929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=1929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=1929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}