{"id":45,"date":"2004-01-17T18:09:22","date_gmt":"2004-01-17T18:09:22","guid":{"rendered":"http:\/\/localhost:8000\/?p=45"},"modified":"2004-01-17T18:09:22","modified_gmt":"2004-01-17T18:09:22","slug":"regular-expression-maintainablity","status":"publish","type":"post","link":"https:\/\/blog.gwadej.org\/programmer-musings\/2004\/01\/regular-expression-maintainablity\/","title":{"rendered":"Regular Expression Maintainablity"},"content":{"rendered":"<p><a title=\"perl.com: Maintaining Regular Expressions [Jan. 16, 2004]\" href=\"http:\/\/www.perl.com\/pub\/a\/2004\/01\/16\/regexps.html\">perl.com: Maintaining Regular Expressions [Jan. 16, 2004]<\/a><br \/>\nAaron Mackey does a wonderful job of suggesting more maintainable regular expression idioms. His use of <code>(?{})<\/code> to assign the results of capturing parenthesis inline was particularly interesting to me. I may have seen it before, but this is the first time it made sense.<\/p>\n<p>The article goes into some serious magic later including deferred execution of the <code>(?{})<\/code> blocks and <code>Regexp::Fields<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>perl.com: Maintaining Regular Expressions [Jan. 16, 2004] Aaron Mackey does a wonderful job of suggesting more maintainable regular expression idioms. His use of (?{}) to assign the results of capturing parenthesis inline was particularly interesting to me. I may have seen it before, but this is the first time it made sense. The article goes\u2026 <span class=\"read-more\"><a href=\"https:\/\/blog.gwadej.org\/programmer-musings\/2004\/01\/regular-expression-maintainablity\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[169,204,281],"_links":{"self":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":0,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}