{"id":541,"date":"2021-06-15T08:36:07","date_gmt":"2021-06-15T15:36:07","guid":{"rendered":"http:\/\/fx-td.com\/houdiniandchill\/?p=541"},"modified":"2021-06-15T08:38:06","modified_gmt":"2021-06-15T15:38:06","slug":"archived-post-by-chris_gardner-5","status":"publish","type":"post","link":"http:\/\/fx-td.com\/houdiniandchill\/2021\/06\/15\/archived-post-by-chris_gardner-5\/","title":{"rendered":"Archived post by chris_gardner"},"content":{"rendered":"<p class=\"\">i&#8217;m not sure that it&#8217;s you. re_replace can be pretty weird sometimes<\/p>\n<p class=\"\">i can&#8217;t make it capture $F5 despite using syntax that i know is valid regex<\/p>\n<p class=\"\">here&#8217;s a crappy workaround<\/p>\n<p class=\"\">&#8220;`string path = chs(&#8220;path&#8221;); <a href=\"mailto:s@blah\" >s@blah<\/a> = re_replace(sprintf(&#8220;%05d&#8221;, @Frame), &#8216;1234&#8217;, path); &#8220;`<\/p>\n<p class=\"\">aha<\/p>\n<p class=\"\"><a href=\"mailto:```s@blah2\" >&#8220;`s@blah2<\/a> = re_replace(&#8216;[$]F5&#8217;, &#8216;2345&#8217;, path);&#8220;`<\/p>\n<p class=\"\">escape the $ with square brackets. that&#8217;s totally sane and documented<\/p>\n","protected":false},"excerpt":{"rendered":"<p>i&#8217;m not sure that it&#8217;s you. re_replace can be pretty weird sometimes i can&#8217;t make it capture $F5 despite using syntax that i know is valid regex here&#8217;s a crappy workaround &#8220;`string path = chs(&#8220;path&#8221;); s@blah = re_replace(sprintf(&#8220;%05d&#8221;, @Frame), &#8216;1234&#8217;, path); &#8220;` aha &#8220;`s@blah2 = re_replace(&#8216;[$]F5&#8217;, &#8216;2345&#8217;, path);&#8220;` escape the $ with square brackets. that&#8217;s &hellip; <a href=\"http:\/\/fx-td.com\/houdiniandchill\/2021\/06\/15\/archived-post-by-chris_gardner-5\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Archived post by chris_gardner<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/541"}],"collection":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/comments?post=541"}],"version-history":[{"count":0,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/541\/revisions"}],"wp:attachment":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/media?parent=541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/categories?post=541"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/tags?post=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}