{"id":10591219,"date":"2018-08-15T00:05:19","date_gmt":"2018-08-15T00:05:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/fields-pattern-modified-at-saving\/"},"modified":"2018-08-15T00:05:57","modified_gmt":"2018-08-15T00:05:57","slug":"fields-pattern-modified-at-saving","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/fields-pattern-modified-at-saving\/","title":{"rendered":"Fields pattern modified at saving"},"content":{"rendered":"<p>Hi.<br \/>\nafter saving the form (no mattter what tab) the pattern used in the fields gets modified.<\/p>\n<p>For instance i have [0-9].{5,} and it changes to [0-9]{5} or [0-9].{5 }, which causes the form to not validate, of course. i have to go to the build tab and correct it and save again: the pattern gets modified but it shows correctly on-page. though if i immediatly save like this, it records the wrong pattern again.<\/p>\n<p><a href=\"https:\/\/www.ronincreativos.com\/web\/erf-save.png\" target=\"_blank\" rel=\"noopener noreferrer\">screenshot<\/a><\/p>\n<p>not sure where this would stem from, but you can take a look at it.<br \/>\nthanks \ud83d\ude42<\/p>\n","protected":false},"template":"","class_list":["post-10591219","topic","type-topic","status-publish","hentry","topic-tag-save","topic-tag-validate"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10591219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10591219\/revisions"}],"predecessor-version":[{"id":10591220,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10591219\/revisions\/10591220"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10591219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}