mime-types - example of how to use regex API
mime-types [OPTIONS] REGEX
mime-types(1) is a example of how to use regex(3) API.
-v or --verbose Turn on verbose messages.
-D or --debug Turn on debug messages.
-V or --version Display the version.
-h or --help Display this message.
Exits success if command-line is valid; exits failure otherwise.
Get all video H26x video MIME types
$ ./mime-types "^video/H26.*"
video/H261
video/H263
video/H263-1998
video/H263-2000
video/H264
video/H264-RCDO
video/H264-SVC
video/H265
Written by Gaël PORTAY gael.portay@gmail.com
Copyright (c) 2016-2017 Gaël PORTAY
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.