{"version":"1.0","type":"rich","title":"Gist 311517677957b0128dbb7f06e746ba86","description":"This visualization demonstrates a compact validation of a Rummikub tile hand using a single regular expression in JavaScript. It shows how a string of digits and letters (`1@23@@678@abc@`) can be parsed to check whether it contains exactly 13 valid tile groups, where groups consist of three or more consecutive numbers or letters with optional wildcard symbols (`@`). The code uses the `String.prototype.match()` API with the regex `/(@*(\\d|[abcd]){3,}@*)/g`, then joins matched groups and compares their total length to 13. The example highlights regex-based pattern matching as a concise alternative to procedural tile-grouping logic.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-311517677957b0128dbb7f06e746ba86?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}