text.pattern-match Does the whole value match an HTML pattern attribute? The same answer in a browser, Python and Rust. matches_pattern in Rust regexregular-expressionpatternmatch 1.0.0py rs ts47 testsApache-2.0