Test, validate and match regular expressions
Matches Storyblok img2 image service URLs, capturing optional transformation modifiers that precede the asset path. Extracts named groups for crop (e.g. 100x100:200x200), resize width/height with optional flip flags (leading - for horizontal, trailing - for vertical), and filters such as format(webp), ending with the required /f/... image path. Useful in JavaScript for parsing, validating, or rewriting Storyblok CDN image URLs; the global/multiline flags allow processing many URLs in a body of text at once.