Upon saving attribute, regex field content is erroneously modified

Having 1.7.23 on a WP 6.9.4 , when I go to WP-Admin, Listings, Attributes, edit attribute,

ticked checkboxes:

Editable Allow front-end editing
Required Make this field required
Field Type Text

Regex Pattern:
abcde://[a-zA-Z0-9]{53}

submit it, then the newly loaded page Regex Pattern field contains:
abcde:\/\/[a-zA-Z0-9]{53}

regex is working as expected on a front-end, but when you save the page again (not noticing the erroneous field change), you end up with non working regex. Another save adds yet another \ slash.

Can I have Tags plugin for free for this report? if no one yet reported it.

Thanks for reporting this issue – we have it in the bug tracker, but it has no critical status at the moment. We’ll try to fix it as soon as it’s possible, let me know if you need a temporary fix for this, this function would probably resolve the issue wp_unslash() – Function | Developer.WordPress.org