Test, validate and match regular expressions
Matches PDF page box definitions such as /MediaBox [0 0 612 792] or /CropBox [ 0 0 595.28 841.89], capturing the box name (Media, Crop, Trim, Bleed, Art) and four numeric coordinates that may be integers or decimals, positive or negative. Useful for parsing raw PDF files or content streams to extract page dimensions and layout geometry. Use with global and multiline flags to find all box definitions throughout a document.