HH\Lib\Regex\to_string
Renders a Regex Pattern to a string
namespace HH\Lib\Regex;
function to_string(
Pattern<Match> $pattern,
): string;
The regex pattern follows the PCRE library: https://www.pcre.org/original/doc/html/pcresyntax.html.
Guide
Parameters
Pattern<Match> $pattern
Returns
string