Build, test, and debug regular expressions
Validates lines of comma-separated page numbers or ranges, such as '1-5,8,11-13', commonly used in print dialogs to select pages. Each item is one or more digits optionally followed by a hyphen and another number, with an optional trailing comma. The multiline flags apply the validation to each line independently.