{"id":3825,"date":"2012-04-20T05:59:13","date_gmt":"2012-04-20T10:59:13","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=3825"},"modified":"2014-02-10T22:20:34","modified_gmt":"2014-02-11T04:20:34","slug":"regex-how-do-you-match-only-valid-roman-numerals-with-a-regular-expression","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=3825","title":{"rendered":"regex &#8211; How do you match only valid roman numerals with a regular expression?"},"content":{"rendered":"<p>^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$<\/p>\n<p>via <a href=\"http:\/\/stackoverflow.com\/questions\/267399\/how-do-you-match-only-valid-roman-numerals-with-a-regular-expression\">regex &#8211; How do you match only valid roman numerals with a regular expression? &#8211; Stack Overflow<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$ via regex &#8211; How do you match only valid roman numerals with a regular expression? &#8211; Stack Overflow. &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[171,107,596],"class_list":["post-3825","post","type-post","status-publish","format-standard","hentry","category-programming","tag-perl","tag-reference","tag-regexp"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/3825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3825"}],"version-history":[{"count":2,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/3825\/revisions"}],"predecessor-version":[{"id":12490,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/3825\/revisions\/12490"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3825"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}